dsdn_112_lecture_4

Page 1

.DSDN.112.! 4D IDEAS AND PRINCIPLES OF DESIGN!


.HTML + CSS.!


TAG OPEN!

TAG CLOSE!


TAG OPEN!

CLASS ID!

TAG CLOSE!


.CSS SYNTAX.!


A CSS rule has two main parts: a selector, and one or more declarations:!

selector! !

h1!

declaration!

!

declaration!

{ color: blue; font-size: 12px; }!

A selector is the HTML element you want to style! ! i.e. body, link, h1, paragraph etc! Each declaration consists of a property and a value! ! i.e. the color is the property and the value is blue.!


http://www.w3schools.com/css/!


.CARGO.COLLECTIVE.!


/admin Â






Some things to remember about cargo collective:! The main HTML is controlled by cargo, so the majority of your site will be static. ! However – you can embed JavaScript and HTML into the contents sections – so be creative!!



.TUMBLR > CARGO.!



.VIMEO + YOUTUBE > CARGO.!



.EXTERNAL URL > CARGO.!




<object width="550" height="400">! <param name="movie" value=”yourfilename.swf/.mov">! <embed src=”YOUR URL HERE" width="550" height="400">! </embed>! </object>!


http://cargocollective.com/jenniwashere/!


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.