Created
May 22, 2018 16:43
-
-
Save VincentChalnot/7d069774d9507faf186d2f250e824782 to your computer and use it in GitHub Desktop.
Screely html challenge in 5min
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> | |
<style> | |
body { | |
background-color: #8feada; | |
} | |
.container { | |
margin: 100px auto; | |
width: 50%; | |
border-radius: 8px; | |
overflow: hidden; | |
box-shadow: #0000004d 0 6px 20px 11px; | |
} | |
.menu-bar { | |
background-color: lightgrey; | |
font-size: 18px; | |
padding: 8px; | |
} | |
.menu-button { | |
display: inline-block; | |
width: 1em; | |
height: 1em; | |
border-radius: 0.5em; | |
margin-right: 3px; | |
} | |
</style> | |
<body> | |
<div class="container"> | |
<div class="menu-bar"> | |
<div class="menu-button" style="background-color: red;"></div> | |
<div class="menu-button" style="background-color: #ffe200;"></div> | |
<div class="menu-button" style="background-color: #01ce00;"></div> | |
</div> | |
<img src="before.png" width="100%"> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ping @corentinbouix