From wiki.pengtools.com
| Line 10: | Line 10: | ||
<html> | <html> | ||
| − | < | + | |
| + | <style> | ||
| + | |||
| + | @media (min-width: 1200px){ | ||
| + | .cMainBlock { | ||
| + | margin-left: auto; margin-right:auto; font-size:40px; width:50%; | ||
| + | } | ||
| + | } | ||
| + | |||
| + | @media (min-width: 600px){ | ||
| + | .cMainBlock { | ||
| + | margin-left: auto; margin-right:auto; font-size:20px; width:50%; | ||
| + | } | ||
| + | } | ||
| + | |||
| + | |||
| + | </style> | ||
| + | |||
| + | |||
| + | |||
| + | <div class="cMainBlock"> | ||
</html> | </html> | ||
Revision as of 13:11, 27 March 2017
