Jina Bolton

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

4 comments

Comments 1 - 4 of 4 previous next Post a comment

  • + guest2a7c33 guest2a7c33 2 years ago
    its really awesome!

  • + henrydjacob Henry Jacob 2 years ago
    One of the best presentation for introducing CSS

  • + jinabolton Jina Bolton 3 years ago
    eek. the quality totally messed up on this. :( They were much nicer, I promise!

  • + gueste6aeb4 gueste6aeb4 3 years ago
    very good. Congretulations

Post a comment
Embed Video
Edit your comment Cancel

29 Favorites

Jina Bolton - Presentation Transcript

  1. 3 JINA BOLTON http://creatingsexystylesheets.com/
  2. The Art & Science of css by Cameron Adams Jina Bolton David Johnson Steve Smith Jonathan Snook Published by SitePoint
  3. 3 css
  4. “css 3 A Giant Serving of FAIL! — a lex rus se l l http://alex.dojotoolkit.org/?p=625
  5. “css 3 \"Third Time Lucky#! — andy cla rke
  6. 1996 css 1
  7. 1997 css 2
  8. css 2.1 candidate recommendation
  9. css 3 modul!
  10. Sele$ors Backgrounds & Borders Multi%column Layout Media Advanced Layout Queries Grid Positioning
  11. Backgrounds & Borders Style any box&s borders and background including attach multiple background% images to a single element.
  12. Backgrounds & Borders % border-radius % border-break % border-image % box-shadow
  13. <div class=\"vcard\"> <div class=\"addr-bl\"> <div class=\"addr-tr\"> … </div> </div> </div>
  14. .vcard { background: #000 url(a-grad.gif) repeat-x; } .addr-bl { background: url(a-bl.gif) 100% 0 no-repeat; } .addr-tr { background: url(a-tr.gif) 100% 0 no-repeat; }
  15. <div class=\"vcard\">…</div>
  16. .vcard { background-color: #000; background-image: url(a-grad.gif), url(a-bl.gif), url(a-tr.gif); background-repeat: repeat-x, no-repeat, no-repeat; background-position: 0 0, 100% 0, 0 100%; }
  17. Multi%column Layout Making it simpler to create column layouts without additional markup by using column widths, counts, gaps and rules.
  18. <div class=\"entry-content\"> <div class=\"col first\"> … </div> <div class=\"col\"> … </div> </div>
  19. .entry-content .col { float: left; width: 467px; margin-left: 30px; } .entry-content .first { margin-left: 0; } /* .entry-content clear-fix rules */
  20. <div class=\"entry-content\"> … </div> .entry-content { column-count: 2; column-gap: 30px; }
  21. <div class=\"entry-content\"> … </div> .entry-content { column-width: 270px; column-gap: 30px; }
  22. <div class=\"vcard\">…</div> .vcard { border-image: url(\"border.png\") 30 30 30 30 stretch; border: double green 1em; }
  23. Advanced Layout Aims to fully separate visual layout order from a document&s content by de'ning (slots! in a grid in which content can )ow or be placed, or that remain empty * all without additional markup.
  24. a b c d e h f g i j k l
  25. a a c d e g e g i j k l
  26. @ @ . . e h @ @ . j j l
  27. Grid Positioning Gives the ability to add invisible grid rules to create grid layouts \"like in books and newspapers#, and uses sizing and new )oat properties for placing content.
  28. <div class=\"entry-content\"> … </div> .entry-content { column-count: 4; column-gap: 30px; }
  29. .entry-content { grid-columns: (30px * *)[4]; column-count: 4; column-gap: 30px; }
  30. .entry-content { grid-columns: (30px * *)[4]; grid-rows: 9em 33.3% *; column-count: 4; column-gap: 30px; }
  31. <div class=\"entry-content\"> … <img src=\"sushi.jpg\" class=\"photo\" alt=\"\" /> … </div>
  32. .entry-content img.photo { float: page bottom left; float-offset: 4gr 1gr; }
  33. <div class=\"entry-content\"> <h2>What is Sushi?</h2> … <img src=\"sushi.jpg\" class=\"photo\" alt=\"\" /> </div>
  34. .entry-content h2 { float: page top left; width: 6gr; height: 1gr; margin-left: -30px; ic } .entry-content img.photo { float: page bottom left; float-offset: 4gr 1gr; }
  35. Sele$ors Re'ned sele$ors to target an element based on an attribute or position in the document )ow plus new pseudo%classes and pseudo%elements.
  36. Sele$ors % E:only-of-type an element which is the only sibling of its type % E:not(s) an element that d+s not match simple sele$ors %E ~ F an F element preceded by an E element
  37. Sele$ors E:nth-child(n) an element which is the n%th child of its parent
  38. <tr class=\"alt\"></tr> <tr></tr> tr.alt td { background: #ecffd9; }
  39. <tr></tr> tr:nth-child(odd) td { background: #ecffd9; }
  40. <tr class=\"high-rank\">…</tr> <tr class=\"high-rank\">…</tr> <tr class=\"high-rank\">…</tr> <tr>…</tr> tr.high-rank td { background: #ecffd9; }
  41. <tr>…</tr> tr:nth-child(-n+3) td { background: #ecffd9; }
  42. Sele$ors E:nth-last-child(n) an element which is the n%th child of its parent, counting from the la, one
  43. <tr>…</tr> <tr class=\"low-rank\">…</tr> <tr class=\"low-rank\">…</tr> <tr class=\"low-rank\">…</tr> tr.low-rank td { opacity: .75; }
  44. <tr>…</tr> tr:nth-last-child(-n+2) td { opacity: .75; }
  45. Sele$ors E:nth-of-type(n) an element which is the n%th sibling of its type
  46. <p class=\"intro\">…</p> <p>…</p> p.intro { background: #fafcf5; font-size: 1.3em; color: #060; }
  47. <p>…</p> p:first-of-type { background: #fafcf5; font-size: 1.3em; color: #030; }
  48. Media Queries Extending the usefulness of media types in combination with window widths, heights and aspe$ ratio.
  49. Resources
  50. CSS ELEVEN IS AN INTERNATIONAL GROUP OF VISUAL WEB DESIGNERS AND DEVELOPERS WHO ARE COMMITTED TO HELPING THE W3C'S CSS WORKING GROUP TO BETTER DELIVER THE TOOLS THAT ARE NEEDED TO DESIGN TOMORROW'S WEB.
  51. Resources % w3c Introdu$ion to css 3 w3.org/TR/css3-roadmap % css Working Group Blog w3.org/blog/CSS %456 Berea Street 456bereastreet.com % css3.info
  52. Resources % A Li, Apart alistapart.com % Transcending css Support transcendingcss.com/support/
  53. creatingsexy,ylesheets.com
  54. Q&A

+ Carsonified TeamCarsonified Team, 3 years ago

custom

13645 views, 29 favs, 44 embeds more stats

CSS3 And What Could Be

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 13645
    • 10086 on SlideShare
    • 3559 from embeds
  • Comments 4
  • Favorites 29
  • Downloads 675
Most viewed embeds
  • 2848 views on http://creatingsexystylesheets.com
  • 367 views on http://www.creatingsexystylesheets.com
  • 154 views on http://www.adii.co.za
  • 45 views on http://webstandard.kulando.de
  • 16 views on http://www.wretch.cc

more

All embeds
  • 2848 views on http://creatingsexystylesheets.com
  • 367 views on http://www.creatingsexystylesheets.com
  • 154 views on http://www.adii.co.za
  • 45 views on http://webstandard.kulando.de
  • 16 views on http://www.wretch.cc
  • 12 views on http://raja.tistory.com
  • 11 views on http://209.85.135.104
  • 10 views on http://adii.co.za
  • 9 views on http://boni-seronoser.blogspot.com
  • 6 views on http://www.graphicrating.com
  • 6 views on http://64.233.169.104
  • 6 views on http://64.233.183.104
  • 5 views on http://66.102.9.104
  • 5 views on http://209.85.229.132
  • 5 views on http://209.85.129.132
  • 4 views on http://localhost
  • 4 views on http://74.125.39.104
  • 4 views on http://static.slideshare.net
  • 3 views on http://74.125.77.132
  • 3 views on http://www.ibreakthrough.com
  • 3 views on http://lucidlab.tistory.com
  • 3 views on http://iktkoolitus.blogspot.com
  • 3 views on http://64.233.167.104
  • 3 views on http://www.webdeveloper2.com
  • 2 views on http://search.mywebsearch.com
  • 2 views on http://www.netvibes.com
  • 2 views on http://losduendesdecolores.blogspot.com
  • 2 views on http://64.233.179.104
  • 1 views on http://72.14.205.104
  • 1 views on http://74.125.43.102
  • 1 views on http://74.125.95.104
  • 1 views on http://www.slideshare.net
  • 1 views on http://copyscape.com
  • 1 views on http://localhost:3000
  • 1 views on http://74.125.95.132
  • 1 views on http://sundale.clubsetup.com
  • 1 views on http://kapeller.wordpress.com
  • 1 views on http://203.208.35.101
  • 1 views on http://jansblog.wordpress.com
  • 1 views on http://74.125.93.104
  • 1 views on http://www.blogger.com
  • 1 views on http://blogs.lavozdelaescuela.es
  • 1 views on http://webdeveloper2.com
  • 1 views on http://203.208.39.132

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories