If you're struggling with your website layout or just lacking in web design inspiration , here's a simple online tool that will make your day-to-day life that little bit easier.
您需要 登录 才可以下载或查看，没有帐号？立即注册
Created by Michael Gannon , a frontend developer from Ireland, SimpleCSS is a straightforward online tool for generating CSS media queries. It's wonderfully easy to use; just specify your breakpoint, or, if you prefer, a particular platform, and it'll pop up with the @media queries you'll need for setting max-width and, if necessary, max-height , ready for you to add styles or just copy and paste into your CSS.
Online tool takes the guesswork out of CSS media queries
Bang, and your media query's done It's all very quick and easy, and does exactly what it says on the tin, and it's also a lovely-looking little page with an emphasis on a graphical based user experience; you might not need it today, but get it bookmarked because you're bound to need it sooner or later.
And while it's just a little bit of a one-trick pony right now, there's more planned that could make it into a much more versatile tool. Michael says that the current content is only the beginning, and that he intends to add more functionality, applying the logic to colours, gradients, fonts, animations, SVGs, breakpoints, minification of code, effects, filters and layouts.
He's also working on a CSS vendor prefix generator, which isn't ready yet but should be up and running soon.
If you find media queries a bit of a pain, hit up SimpleCSS right now.
上一篇：Investigating the proportional fill algorithm
下一篇：Customizable vector maps with the Mapbox Qt SDK