8 ms·
The first one :) The CSS makes use of `:after` to show the bar on whichever element you choose meaning that we don't have to create extra progress elements etc
by codez 13y ago
The first one :)
The CSS makes use of `:after` to show the bar on whichever element you choose meaning that we don't have to create extra progress elements etc.
- gberger 13y agoOh, indeed, that's definitely an improvement. Didn't realize I could put the 'progrecss' on any element.
- codez 13y agoYeah that's the angle I was going for with this so it's just super simple to add it wherever you want it without having to worry about layouts etc. or borking your elements. Using :after means you don't even need to factor it as an element into your existing design, you just place it on top.