Past Meetup

January 2018: Katie Fenn - Writing Modular Stylesheets with CSS Modules

This Meetup is past

49 people went

Platform

New Station Street LS1 4JB · Leeds

How to find us

Next to Leeds Rail Station - see https://bruntwood.co.uk/our-locations/leeds/platform/

Location image of event venue

Details

Writing Modular Stylesheets with CSS Modules
Composition has long been a goal of CSS design. Creating a rich library of styles that can be reused and combined saves time in the long run, but often lead to unmaintainable or verbose code.

WebPack is commonly used for bundling JS modules, but its flexibility means it can also be used to load CSS Modules: local styles that can be imported and exported just like scripts.

This talk introduces WebPack and will demonstrate how to write, bundle and use CSS Modules. We'll also examine their benefits, and why they can help in ways other tools have failed in the past.

Bio:
Katie Fenn is a software engineer at npm. She works with all aspects of the web, particularly JavaScript, CSS, Node.JS and ops. When not at her desk, she is usually in the pool or on her bike in the Peak District.

@katie_fenn