This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.box{ | |
color: white; | |
font-size: 100px; | |
text-align: center; | |
text-shadow: 4px 4px 0 rgba(0,0,0,0.1); | |
padding: 10px; | |
} | |
.box1 {background: #1abc9c} | |
.box2 {background: #3498db} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.box{ | |
color: white; | |
font-size: 100px; | |
text-align: center; | |
text-shadow: 4px 4px 0 rgba(0,0,0,0.1); | |
padding: 10px; | |
} | |
.box1 {background: #1abc9c} | |
.box2 {background: #3498db} | |
.box3 {background: purple} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container { | |
/* display: flex; or inline-flex */ | |
display: flex; | |
border: 10px solid goldenrod; | |
min-height: 100vh; | |
/* flex-direction: row or colum or row-reverse or column-reverse */ | |
flex-direction: column ; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container { | |
/* display: flex; or inline-flex */ | |
display: flex; | |
border: 10px solid goldenrod; | |
min-height: 100vh; | |
/* flex-direction: row or colum or row-reverse or column-reverse */ | |
flex-direction: row-reverse ; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<link rel="stylesheet" href="./flexbox.css"> | |
<title>flexbox</title> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container { | |
display: flex; | |
border: 10px solid goldenrod; | |
min-height: 100vh; | |
flex-wrap: wrap | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.box{ | |
color: white; | |
font-size: 100px; | |
text-align: center; | |
text-shadow: 4px 4px 0 rgba(0,0,0,0.1); | |
padding: 10px; | |
width: 300px | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container { | |
display: flex; | |
border: 10px solid goldenrod; | |
height: 100vh; | |
flex-wrap: wrap-reverse; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container { | |
display: flex | |
} | |
.box { | |
flex: 1; | |
order: 1; | |
color: white; | |
font-size: 100px; | |
text-align: center; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<link rel="stylesheet" href="./flexboxNetNinjaCourse.css"> | |
<title>Flexbox Netninja course</title> | |
</head> | |
<body> |
OlderNewer