タグ

ブックマーク / simurai.com (2)

  • Styling with STRINGS

    At this year's CSSConf in Melbourne (AU) I gave a talk called "Styling with STRINGS". The talk is about how we can use Flexbox, currentColor and EMs inside components to quickly style entire Web Apps straight in the browser. In case of tl:dw here some of the main points: Layout When creating mobile "App" layouts, where not the whole page is scrollable, but instead only certain parts. And you have

    Styling with STRINGS
  • simurai

    Contextual styling with custom properties 01 Apr 2018 Something I’ve been wanting for a long time, define different regions like a footer section, or side bar and not have to deal with all the contextual styling hassle. A.k.a. “Now that this button is used on a dark background, the button needs to change its colors too. Where should the styles live?”. Here an old post about struggling with context

  • 1