Skip to content
This repository has been archived by the owner on Mar 20, 2022. It is now read-only.

Improves CSS #2

Merged
merged 3 commits into from
Jul 12, 2018
Merged

Improves CSS #2

merged 3 commits into from
Jul 12, 2018

Conversation

bartvandebiezen
Copy link

Applies BEM structure to Lightpick. It will reduce CSS specificity, increase selector performance, improve modularity: no need to worry about styling for other HTML elements in a project. Furthermore, 'state classes' are prefixed with 'is', making it clear which classes are temporary and which are not (BEM classes). Smaller CSS improvements are: removes unnecessary browser prefixes for flex box; removes trailing spaces; colors more consistent; uses 'days-of-the-week' instead of 'weekdays' (different meaning).

More about BEM: http://csswizardry.com/2013/01/mindbemding-getting-your-head-round-bem-syntax/ https://philipwalton.com/articles/side-effects-in-css/

@wakirin wakirin merged commit 6abd313 into wakirin:master Jul 12, 2018
@wakirin
Copy link
Owner

wakirin commented Jul 12, 2018

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants