• Julian LengfelderJulian Lengfelder, over 6 years ago (edited over 6 years ago )

    I use no framework. Never found them worth the hassle. The few times I tried them it led to a ton of unused code. Same applies to grid systems. I actually enjoy building them myself. But I have reused some of my own.

    For sizing units I stick to vw/vh and % for major elements in combination with flexbox. For typography I stick to rem for global values and em for local ones. In some specific cases I mix in px if it is absolutely necessary, luckily this happens way less in recent days. I tend to use SCSS variables to make sure paddings and margins stay the same across multiple elements. This and some use of calc() makes it easy for me to wrap my hand around any sizing issues.

    Naming is mostly done the BEM way mixed with a few single purpose classes (e.g. for floats).

    0 points