NMD 345 Web Applications

CSS property names

Meme Car Html Css

Tap m to navigate by menu or space/arrows to go forward or backward.

CSS display

Css Display Block V Inline

	display: block ;
	display: inline ;
	display: flex ;
	display: grid ;

CSS float

Css Float Left V Right

	float: left ;
	float: right ;

CSS position

Css Position All

	position: absolute ;
	position: relative ;
	position: fixed ;

CSS transition

Css Transitions Illustration

	transition: all 2s ease-in-out ;

CSS TRBL

Css Top Right Bottom Left

	/* These four directions: */
	margin-top: 10px ;
	margin-right: 20px ;
	margin-bottom: 30px ;
	margin-left: 40px ;
	/* can be condensed to this: */
	margin: 10px 20px 30px 40px ;

CSS clear

Css Clear Floats

	clear: both ;

CSS font-family

Css Font Family Basic

	font-family: verdana ;
	font-family: georgia ;

CSS font-size

Css Font Size

	font-size: 12px ;
	font-size: 2em ;

CSS hover

Css Hover Button

	div:hover { color: red ; }

CSS left

Css Left

	left: 100px ;
	left: 10% ;
	left: 10vw ;

CSS top

Css Top Right Bottom Left

	top: 50px ;
	top: 20% ;
	top: 20vh ;

CSS margin

Css Margin Padding

	margin: 20px ;
	margin-left: 10vw ;

CSS opacity

Css Opacity

	opacity: 1 ;
	opacity: .5 ;
	opacity: 0 ;

CSS padding

Css Margin Padding

	padding: .5em ;

CSS @media

image by  Angela Delise

	@media (max-width: 600px) {
	  h1 {
	    font-size: 4em;
	  }
	}

CSS background-color

Css Background Color

	background-color: turquoise ;

CSS border

Css Margin Padding

	border: blue solid 4px ;

CSS box-shadow

Css Box Shadow

	box-shadow: .5em 1em 2em gray ;

CSS text-decoration

Css Text Decoration

	text-decoration: underline dotted ;
	text-decoration: green wavy underline ;
	text-decoration: none ;

CSS text-shadow

Css Text Shadow

	text-shadow: .2em .2em 1em black ;

CSS flex

Css Flex Align Items

	display: flex ;
	justify-content: space-between ;
	align-items: center ;

CSS grid

Css Grid Areas

	display: grid ;

/