Created
March 29, 2016 19:21
-
-
Save parthdesai93/83ea6d22d7ac29c57a0a939fd9f4a40f to your computer and use it in GitHub Desktop.
Write the CSS for the following: A div with class “navbar”, when nested inside a div with id “header”, should have a width of 100px, a left padding of 10px, and always be visible at a fixed position 30 pixels from the top of the window.
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
div#header > div.navbar{ | |
width: 100px; | |
padding-left: 10px; | |
visibility: visible; | |
position: fixed; | |
top: 30px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment