Meester van het CSS universum worden + Opvolging “Craftsmanship”

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.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    Meester van het CSS universum worden + Opvolging “Craftsmanship” - Presentation Transcript

    1. BARCAMP GENT 28 november 2008 Meester van het CSS- universum worden / Opvolging “Craftsmanship”
    2. Johan Ronsse
    3. Meester van het CSS- universum worden
    4. 20 minuten
    5. Layout
    6. CSS = hulpmiddel
    7. HTML + CSS
    8. 1 Simple column system
    9. <div class=\"cols\"> <p>tekst</p> </div>
    10. <div class=\"cols\"> <div class=\"col\"> <p>tekst</p> </div> </div>
    11. <div class=\"cols\"> <div class=\"col\"> <p>tekst</p> </div> <div class=\"col\"> <p>tekst</p> </div> </div>
    12. .col { float: left; width: 50%; }
    13. Uitbreiden
    14. Meerdere breedtes
    15. /* Default simple column system */ .columns .column { float: left; } /* Two columns */ .columns .column-12, .columns .column-24 { width: 49.9%; } /* Three columns*/ .columns .column-23 { width: 66.5%; } .columns .column-13 { width: 33.2%; } /* Four columns */ .columns .column-14 { width: 24.9%; } .columns .column-34 { width: 74.9%; } /* Five columns */ .columns .column-15 { width: 19.9%; } .columns .column-25 { width: 39.9%; } .columns .column-35 { width: 59.9%; } .columns .column-45 { width: 79.9%; } /* Spacing divs to fit inside colunns: gutter width and 1/2 gutter width */ .columns .spacing-left { margin-left: 20px; } .columns .spacing-left-half { margin-left: 10px; } .columns .spacing-right { margin-right: 20px; } .columns .spacing-right-half { margin-right: 10px; } .columns .spacing-both-half { margin-right: 10px; margin-left: 10px; }
    16. Marges
    17. /* Default simple column system */ .columns .column { float: left; } /* Two columns */ .columns .column-12, .columns .column-24 { width: 49.9%; } /* Three columns*/ .columns .column-23 { width: 66.5%; } .columns .column-13 { width: 33.2%; } /* Four columns */ .columns .column-14 { width: 24.9%; } .columns .column-34 { width: 74.9%; } /* Five columns */ .columns .column-15 { width: 19.9%; } .columns .column-25 { width: 39.9%; } .columns .column-35 { width: 59.9%; } .columns .column-45 { width: 79.9%; } /* Spacing divs to fit inside colunns: gutter width and 1/2 gutter width */ .columns .spacing-left { margin-left: 20px; } .columns .spacing-left-half { margin-left: 10px; } .columns .spacing-right { margin-right: 20px; } .columns .spacing-right-half { margin-right: 10px; } .columns .spacing-both-half { margin-right: 10px; margin-left: 10px; }
    18. <div>-soup
    19. <div class=\"cols\"> <div class=\"col col-2\"> <div class=\"spacing-right-half\"> <p>tekst</p> </div> </div> <div class=\"col-2\"> <div class=\"spacing-left-half\"> <p>tekst</p> </div> </div> </div>
    20. Gebruik: overal
    21. 2 Grid column system
    22. Begint bij ontwerp
    23. Breedte kolom: 138px
    24. Tussen kolommen: 12px
    25. .cols { padding-left: 68px; float: left; } .colshift { position: relative; bottom: 17px; } .col { width: 138px; padding-right: 12px; float: left; } .col-15 { width: 207px; } /* One and a half column */ .col-2 { width: 288px; } /* Double column */ .col-3 { width: 438px; } /* Triple column */ .col-4 { width: 588px; } /* Four columns */ .col-5 { width: 738px; } /* Five columns */ .col-6 { width: 888px; } /* Six columns */
    26. .cols { padding-left: 68px; float: left; } .col { width: 138px; padding-right: 12px; float: left; } .col-15 { width: 207px; } /* One and a half column */ .col-2 { width: 288px; } /* Double column */ .col-3 { width: 438px; } /* Triple column */ .col-4 { width: 588px; } /* Four columns */ .col-5 { width: 738px; } /* Five columns */ .col-6 { width: 888px; } /* Six columns */
    27. .cols { padding-left: 68px; float: left; } .col { width: 138px; padding-right: 12px; float: left; } .col-15 { width: 207px; } /* One and a half column */ .col-2 { width: 288px; } /* Double column */ .col-3 { width: 438px; } /* Triple column */ .col-4 { width: 588px; } /* Four columns */ .col-5 { width: 738px; } /* Five columns */ .col-6 { width: 888px; } /* Six columns */
    28. Opvolging “Craftsmansship”
    29. “You don’t want to be making mediocre stuff.” IRA GLASS
    30. Better.
    31. Dankjewel!
    32. Vragen?

    + Johan RonsseJohan Ronsse, 12 months ago

    custom

    580 views, 1 favs, 0 embeds more stats

    My slides from my presentation at Barcamp Ghent #2 more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 580
      • 580 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 4
    Most viewed embeds

    more

    All embeds

    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