-
Notifications
You must be signed in to change notification settings - Fork 2
Html CSS Cheat Sheet
This a page that (hopefully) in time will grow to cover the basic and simple HTML and CSS solutions.
Please add to your alternate solutions if you know a different way.
hr {
width: 75%;
margin-left: auto;
margin-right: auto;
}
#divName {
padding-top: 50px;
height: 500px;
color: #fff;
background-image: url("your_url.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100%;
}
Try different values to see the how it affects the div and over in the html
<div id="divName" class="container-fluid">
http://csswizardry.com/2011/01/create-a-centred-horizontal-navigation/
https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Sections_and_Outlines_of_an_HTML5_document
Learn to code and help nonprofits. Join our open source community in 15 seconds at http://freecodecamp.com
Follow our Medium blog
Follow Quincy on Quora
Follow us on Twitter
Like us on Facebook
And be sure to click the "Star" button in the upper right of this page.
New to Free Code Camp?
JS Concepts
JS Language Reference
- arguments
- Array.prototype.filter
- Array.prototype.indexOf
- Array.prototype.map
- Array.prototype.pop
- Array.prototype.push
- Array.prototype.shift
- Array.prototype.slice
- Array.prototype.some
- Array.prototype.toString
- Boolean
- for loop
- for..in loop
- for..of loop
- String.prototype.split
- String.prototype.toLowerCase
- String.prototype.toUpperCase
- undefined
Other Links