11/4/2022 0 Comments Border radius for one side only![]() No.3 is pretty close too, but it’s three lines and and to change a side it’s two changes on the one line. With No.2 you only need to change one word to change either the colour, side or width. I look at which one is the most maintainable when testing. Width:calc(var(-n)*(var(-s) + var(-g)) - var(-g)) It’s only two lines and you only have the colour declared once. g:5px /* control the gap between stripes */ s:30px /* control the width of stripes */ BORDER RADIUS FOR ONE SIDE ONLY FULLLike the previous one loader, let's start with an overview: Click to see the full code Gradients are known to produce "strange" results in some cases so we have to adjust some values manually to avoid them. Those are some corrections to avoid visual glitches.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |