See 5 lines I put in a blank .vimrc for some sensible defaults… my .vimrc is rather a bit longer…
Daily Archives: 2020-12-14 [Monday]
CSS Variables and How To Use Them
A quick run down on CSS Variables and How To Use Them. Note the var() function can take 2nd parameter for a default value.
:root { --primary-color: #333; } div { color: var(--primary-color, #444); } p { background-color: var(--primary-color); } .fancy { border-color: var(--primary-color); }