Search
Items tagged with: clipPath
Know how border-image & border-radius don't play nice together?
(interactive codepen.io/thebabydino/pen/jxZ…)
#tinyCSStip there's a workaround IF corner radius ≤ border-width: use inset() clip-path + a round value!
clip-path: inset(0 round $r)
@codepen demo: codepen.io/thebabydino/pen/qBE…
(and yes, this is a tip I first shared on twitter over half a decade ago x.com/anatudor/status/12199161… )
#CSS #clipPath #cssClipPath #coding #web #dev #webDev #webDevelopment #code #frontend #borderImage #borderRadius