Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Borders and border-radius/hover state questions Re: Borders and border-radius/hover state questions

#111355
Anonymous
Inactive

I’ve done it before with a class, but I don’t like adding to the markup like that. I also try to, at least, support IE8+, so I’m not sure which is better. I tried using the same idea to fix the hover state from extending beyond the border-radius by adding ‘first/last-of-type’, but it doesn’t seem to work right. I’m thinking I’m just missing something obvious, but my brain is in Friday mode apparently…