Salta al contingut principal

Introducing: CSSValues.com

There are quite a few references online for finding detailed info on CSS properties. I find, however, that most of them usually have more than what I’m looking for — and don’t even get me started on the overly-convoluted CSS specs. Truth is, sometimes I just want to know which values are valid for a particular property, and nothing more. So I built a quick-reference site that does just that.


It’s called: CSS Values.


CSSValues.com


How it works is very simple. If you know a CSS property that you’re thinking of using, but can’t remember all the values that it accepts, just type the property name into the search box and the page will instantly update to display the property with all valid values.


You can also use it just to browse, which might be helpful for CSS beginners. All the data is displayed on the page by default, so you can scroll down and just peruse everything at random — which you might find surprising. We might think we know CSS pretty well, but it’s amazing what little nuggets you’ll find. I certainly learned a lot while building this thing.


Naturally, keeping the data for CSS Values up to date will be an ongoing task, but I really don’t mind since I’m constantly doing research on CSS stuff. So this will be a great way to help me stay up to speed — even if nobody finds the app particularly useful.


Resources Used


The page uses a very useful little script called List.js by Jonny Strömberg. If the functionality of it feels familiar, then it might be because HTML5 Please uses the same script for its insta-filtering.


I’m also using a diamond upholstery pattern from Subtle Patterns and the logo/title font is Akashi from Ten by twenty.


Drawbacks


As this is a very simple reference app, it naturally has some drawbacks. The data it holds is updated manually in the HTML. Not the greatest solution, I know.


If I was patient enough, I’d build some sort of a scraper to grab the data automatically from the spec or MDN (like what DocHub does). But I just want the values, and it likely would be time-consuming to filter out vendor properties and other things that I don’t want in the list.


Also, the one big thing missing from the reference is browser support, which is a major factor when deciding on what CSS features to use. At the very least, I think I should add a note for each property to say which versions of IE support it. Adding a simple “browser support” section to each property is definitely on the to-do list.


If anyone has any ideas for improving how the info is updated, or anything else, I’d be happy to hear it. And if you notice any bugs, missing data, or incorrect info, you can report an issue on the GitHub page. Thanks to Paul for some initial feedback while I was finishing it up.


In the meantime, enjoy the brand new CSS Values!



Related posts:



  1. Introducing: Animation Fill Code

  2. Introducing “CSS Basics”








via Impressive Webs http://www.impressivewebs.com/introducing-css-values/

Comentaris

Entrades populars d'aquest blog

15 Tutoriales CSS3 para mejorar tus paginas web

15 Tutoriales CSS3 para mejorar tus paginas web : Les dejo una pequeña recopilación de tutoriales CSS3 que espero sean de utilidad para ustedes, intentamos hacer una recopilación bastante completa para crear impresionantes diseños web con CSS3 y aprovechar las bondades de CSS3 incluso para aplicar efectos, son un total de 15 tutoriales CSS3 gratis . Crear menu dropdown con CSS3 Crear breadcrumbs con estilo Transiciones de paginas con CSS3 Crear timeline con CSS3 y jQuery Reproductor de video con HTML5, CSS3 y jQuery Crear efecto acordion CSS3 Aplicar degradado a texto Crear texto en curva con CSS3 y jQuery Aplicar textura a texto con Magic Pill Crear slider de imagenes con CSS3 y jQuery Rotar texto con CSS3 Crear menu vertical con CSS3 Crear formulario con HTML5 y CSS3 Crear efecto de imagenes apiladas con CSS3 Aplicar estilos para imagenes con CSS3  

Averiguar la Salud del Disco Duro, con Crystal Disk Info [Windows]

Averiguar la Salud del Disco Duro, con Crystal Disk Info [Windows] : El actual “cuello de botella” en nuestras PCs; es decir, donde todo el rendimiento de nuestra PC llega a estancarse , es en el Disco Duro. Si bien los procesadores han evolucionado considerablemente en velocidad / rendimiento, el RAM no sólo es más económico, sino más veloz, y las tarjetas de video siguen innovando con cada generación, los discos duros han permanecido idénticos desde hace años, limitados por la física. Y es que un disco duro tradicional sólo tiene un máximo de velocidad con el que puede girar (medido en revoluciones por minuto, o RPM) que, a su vez, limita la velocidad de lectura y escritura. En pocas palabras, a pesar de que nuestras PCs pueden procesar información mucho más rápido que hace 5 años, los discos duros siguen leyendo (y escribiendo) esta información prácticamente a la misma velocidad. Esto ha cambiado con la llegada de los SSD, los Discos de Estado Sólo que no están limitados por la velo...

Learn Composition from the Photography of Henri Cartier-Bresson

“Do you see it?” This question is a photographic mantra. Myron Barnstone , my mentor, repeats this question every day with the hopes that we do “see it.” This obvious question reminds me that even though I have seen Cartier-Bresson’s prints and read his books, there are major parts of his work which remain hidden from public view. Beneath the surface of perfectly timed snap shots is a design sensibility that is rarely challenged by contemporary photographers. Henri Cartier-Bresson. © Martine Franck Words To Know 1:1.5 Ratio: The 35mm negative measures 36mm x 24mm. Mathematically it can be reduced to a 3:2 ratio. Reduced even further it will be referred to as the 1:1.5 Ratio or the 1.5 Rectangle. Eyes: The frame of an image is created by two vertical lines and two horizontal lines. The intersection of these lines is called an eye. The four corners of a negative can be called the “eyes.” This is extremely important because the diagonals connecting these lines will form the breakdown ...