TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Modernizr: a JS toolkit to help you start using CSS3 and HTML5 today

44 pointsby zainalmost 16 years ago

2 comments

pufuwozualmost 16 years ago
Relying on Javascript to apply CSS kind of sucks.<p>It would also suck to maintain RGBA definitions and HEX definitions in one stylesheet:<p><pre><code> body.no-rgba { background-color: #FFFFC0; } body.rgba { background-color: rgba(255, 255, 192, 255); } </code></pre> Correct me if I'm wrong but as far as I know, you can use all of the CSS3 additions (even things like font-faces and multiple backgrounds) and browsers will ignore them if the don't support them.<p>I can see the HTML5 support for old browsers being useful though.
johnnybgoodealmost 16 years ago
It looks like you'd use this if you wanted to take advantage of newer features in some browsers today, while still maintaining separate code for browsers like IE.
评论 #683837 未加载