you current best practices from our daily experience There will be no (ok a little) book knowledge The will be some hands-on parts for you to get active If something is unclear, ask!
first time We don’t know what you expect We want to learn and improve: Too fast? Too slow? Too easy? -> Tell us! Feedback session at the end Interactive Cologne 2014
learned: #IDs should not be used for styling Instead, we take .classes for styling IDs are for Javascript behavior, that targets one element (faster) [data-attributes] are for Javascript, that targets multiple elements
CSS classes IDs: $(“#top-box“) Data-attributes: $(“[data-behavior=datepicker]“) ! Only exception: changeable state classes But we will see that later ...
base module Modifies only a detail Can only be used with a module E.g. a smaller version of our button Starts with a preposition (as-, with-, without-, …) .m-button.as-small
part after part Start with something easy e.g. buttons Strip out all button related CSS and move it into the button module Start refactoring the button code Take the next module
some Designer put together a long time ago Nobody uses them because nobody takes care of them ! => Living styleguide use current codebase Great debugging tool