Native CSS Feature Detection With @supports – SitePoint

Native CSS Feature Detection With @supports http://t.co/tgaQQ7HI #ux #design #ui #usability #CSS3 #HTML5
Consider the following CSS snippet: .blur-text { color: transparent; text-shadow: 0 0 5px #000; } Any element with a class of blur-text will render a burred text effect: Lovely. Unfortunately, not all browsers support text-shadow. IE9 and below apply the, The new CSS @supports rule reduces the need to use JavaScript feature detection before applying styles. Craig describes the new feature but abandoning Modernizr may be a little premature.
LinkTrackbacks

Posted in User experience (UX) | Permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *