conditional border-radius
Fri Mar 11 2022 13:28:46 GMT+0000 (UTC)
…what the what? Why is this border-radius property trying to hack me and steal my credit card information with CSS? Joking aside, Ahmad then wrote a great post about what he calls conditional border-radius in CSS and describes what the code above does: it only adds a border-radius when the card is not taking up the full viewport width of the browser.
https://css-tricks.com/newsletter/272-jams/
Comments