Github and Website Workshop/HTML CSS review: Difference between revisions

imported>Auria
imported>Auria
 
Line 99:
** auto left/right centers the div horizontally, which is good for your <body>
* [http://www.w3schools.com/cssref/pr_class_position.asp position] determines how your element is positioned on your page - relative to other elements or not
* [https://developer.mozilla.org/en-US/docs/Web/CSS/z-index z-index] - by default HTML elements have a z-index of 1, and elements with higher z-indices will overlap those with lower z-indices
* [https://developer.mozilla.org/en/docs/Web/CSS/display display] - determines whether or not you can see the element, and its rendering box (e.g. block like div, or inline like span)
* [https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius] can round corners or make circular elements
 
Often, in the beginning, CSS can be learned by wanting something to look a certain way and Googling which CSS properties to use. So feel free to look up stuff you'd like to do, or ask a mentor!
Anonymous user