Last active
March 29, 2021 02:44
-
-
Save Etc3tera/f73ade50c1fb1b4752c8a9d36ee7aeb0 to your computer and use it in GitHub Desktop.
CSS Quiz - 1
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
<html> | |
<head> | |
<title>CSS Test</title> | |
<style> | |
html { | |
font-size: 16px; | |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
} | |
.box { | |
border: 1px; | |
border-style: solid; | |
padding: 12px; | |
text-align: center; | |
font-weight: bold; | |
} | |
.left { | |
color: red; | |
border-color: red; | |
} | |
.right { | |
color: green; | |
border-color: green; | |
} | |
.container { | |
/* TODO */ | |
} | |
.header { | |
/* TODO */ | |
} | |
.content { | |
border: 1px solid red; | |
color: red; | |
font-weight: bold; | |
font-size: 3rem; | |
/* TODO */ | |
} | |
.footer { | |
background-color: #ccc; | |
height: 64px; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="header"> | |
<div class="box left">Left</div> | |
<div class="box right">Right</div> | |
</div> | |
<div class="content"> | |
<div>Hello World</div> | |
</div> | |
<div class="footer"> | |
<!-- Footer --> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment