Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *{
- margin:0;
- padding:0;
- }
- header {
- width:1200px;
- height:300px;
- background-color:blue;
- }
- nav {
- width:1200px;
- height:200px;
- background-color:yellow;
- }
- .contenido{
- width:1200px;
- height:1000px;
- background-color:green;
- }
- footer {
- width:1200px;
- height:400px;
- background-color:red;
- }
- .dropdown {
- position: relative;
- display: inline-block;
- }
- .dropdown-content {
- display: none;
- position: absolute;
- background-color: #f9f9f9;
- min-width: 160px;
- box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
- padding: 12px 16px;
- z-index: 1;
- color:white;
- }
- .dropdown:hover .dropdown-content {
- display: block;
- }
- .dropdown-content p:hover {background-color: black}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement