+
+@media only screen and (max-width: 600px){
+ body {
+ column-count: 1;
+ }
+ section {
+ width: 100%;
+ margin: 10px;
+ }
+}
+ body {
+ column-width: 400px;
+ -webkit-column-width: 400px;
+ -moz-column-width: 400px;
+ }
+ section {
+ width: 380px;
+ }
+
body {
- column-width: 400px;
- -webkit-column-width: 400px;
- -moz-column-width: 400px;
column-gap: 20px;
-webkit-column-gap: 20px;
-moz-column-gap: 20px;
}
section {
- width: 380px;
display: inline-block;
border: 1px solid;
border-radius: 10px;
<head>
<title>za3k.com</title>
<link rel="stylesheet" type="text/css" href="index.css">
+ <meta content="width=device-width, initial-scale=1" name="viewport" />
</head>
<body>
<section id="personal">