Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,37 @@
width: 150px;
height: 150px;
background-color: red;
border:5px solid black;
margin: 10px;
order:0;
}

.blue {
width: 150px;
height: 150px;
background-color: blue;
border:5px solid black;
margin: 10px;
order:1 ;
}

.yellow {
width: 150px;
height: 150px;
background-color: yellow;
border:5px solid black;
margin: 10px;
order:2;
}
body{
flex-wrap:wrap;
display: flex;
}
@media screen and (max-width: 1350px) {
body{
justify-content: space-evenly;

}


}
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="utf-8">
<title>CSS Flexbox</title>
<link rel="stylesheet" href="./index.css">
<!--<meta name="viewport" content="width=device-width, initial-scale=1"> -->
</head>
<body>
<div class="blue"></div>
Expand Down