tarasis.net/src/_drafts/cssproperties.md

25 lines
820 B
Markdown
Raw Normal View History

---
title: CSS Properties, or I have a problem.
tags: [webdev, css]
category: programming
---
Frontend Mentor
Ive be rattling off some Frontend Mentor challenges recently. Aiming to finish all the newbie challenges before moving onto Junior and onwards.
One thing Ive noticed is that Ive really embraced CSS properties, probably too much so :)
In my last couple of challenges Ive had upwards of 50 properties. They cover typography, Colors, positioning, styling and padding / margins.
For instance in this [Product] challenge …
The theory being that it makes it easy to retheme or to switch up details for the desktop version compared to the mobile version without having to redo X, Y or Z classes.
To me it makes sense. The code stays the same, youre just tweaking the variables passed in.