background preloader

Vendor-prefixed CSS Property Overview

Vendor-prefixed CSS Property Overview
Related:  CSS

Les traductions de documents du W3C English documents Les traductions de documents du W3C Préambule Cette page liste les traductions de rapports techniques du W3C publiées ici. Mise en garde Les documents du W3C peuvent recéler des erreurs. La liste des traductions publiées ici Les profils composites de capacités/préférences (CC/PP) : structure et vocabulaires 1.0 Un modèle de caractères pour le Web 1.0 : Les principes de base Les problèmes courants dans l'implémentation de HTTP CoolUris Adresses URI sympas pour le Web sémantique Les feuilles de style en cascade niveau 1 Les feuilles de style en cascade, niveau 2 Les problèmes courants des agents utilisateurs Di-Gloss-20030825 Un glossaire des termes de l'indépendance par rapport aux appareils DOM2-Core La spécification du modèle objet de document (DOM) niveau 2 Core DOM2-Events La spécification du modèle objet de document (DOM) niveau 2 Events La spécification du modèle objet de document (DOM) niveau 2 HTML DOM2-Style La spécification du modèle objet de document (DOM) niveau 2 Style Mobile-BP

Styling ordered list numbers I’ve always been annoyed by how difficult it is to style the numbers of ordered lists. Quite often a design calls for something other than just a plain figure – a different font, size, colour, background, whatever. The traditional approach to solving this problem has been to prevent the browser from rendering the numbers of the list items (li elements) and instead hard code the numbers in the text content of the li. Doing it that way works visually, but it isn’t exactly a semantically correct way of using lists. So when I was recently faced with styling list numbers once again I thought I’d have another go at doing it without faking the numbers. The key is using CSS generated content to create and insert the counter numbers after removing the default numbering from the list. The CSS used on the demo page is this: The key parts are the following: list-style:none: disables the default numbering counter-reset and counter-increment: create a counting scope and increment the count.

Data URIs make CSS sprites obsolete I was sitting in a talk given by Facebook’s Jason Sobel at Velocity this year, when I was a bit surprised by an impassioned plea that he made at the tail end of the talk. To paraphrase, Jason said that CSS sprites require too much work for average web developers and that we should be pressuring the browser vendors to make this process easier. I was perplexed for a moment. First, I don’t think CSS sprites are all that complicated anymore, especially with tools like the online CSS Sprite Generator readily available. The purpose of CSS sprites Before getting into how data URIs make CSS sprites obsolete, it helps to examine the problem that CSS sprites solved. CSS sprites solved this problem by combining multiple images into a single file, thus collapsing all of those extra HTTP requests into a single request and vastly speeding up the page. Basic CSS sprite usage The pattern I use the most for CSS sprites is relatively straightforward and has the goal of ensuring CSS maintainability.

CssDeck Alternatives AlternativeTo AlternativeTo is a free service that helps you find better alternatives to the products you love and hate. The site is made by Ola and Markus in Sweden, with a lot of help from our friends in Italy, Finland, USA and contributors from all over the world. Feel free to send us your questions and feedback on hello@alternativeto.net, in our discussion forums or tweet us at @AlternativeTo Improving the Performance of your HTML5 App Introduction HTML5 gives us great tools to enhance the visual appearance of web applications. This is especially true in the realm of animations. However, with this new power also come new challenges. Anyway, when you work in animation it becomes hugely important that users perceive these animations to be smooth. This article will try to give you the tools and techniques to work on improving the experience of your own application. The Strategy By no means do we want to discourage you from building awesome, stunningly visual apps with HTML5. Then when you notice that performance could be a little better, come back here and read up on how you can improve the elements of your application. Visual fidelity++ with HTML5 Hardware Acceleration Hardware acceleration is an important milestone for overall render performance in the browser. These aspects of your document can be accelerated by the GPU: General layout compositing CSS3 transitions CSS3 3D transforms Canvas Drawing WebGL 3D Drawing Profiling

cloudhead's less.js at master - GitHub Most popular smartphone screen resolutions 2015 The first 4K (2160 x 3840) smartphone, the ZTE Star 3, is reportedly on the way, and thus perhaps 4K will become the new standard for mobile device screen resolution. However, lower resolutions are currently the most popular in the smartphone world. Check out the most recent statistics on top smartphone screen resolutions in 2015 based on browser hits. The number of dots on the screen Screen resolution provided by the device manufacturer defines the number of pixels (the tiniest addressable points) available on the screen, and it is usually quoted as width × height. Generally speaking, more dots allow designers to fit more content on the screen, such as GUI elements, apps, and websites. Physical vs. virtual pixels It is also worth mentioning that for many graphic designers CSS pixels are a more important factor than physical pixels listed by device manufacturers. A CSS pixel (px) equals 1/96th of 1in. Download: 8 Myths About Building Mobile-Friendly Websites

css - How can you create a CSS3 gradient in Opera Making a Sleek Feed Widget With YQL, jQuery & CSS3 – Tutorialzine Martin Angelov You will be surprised at how much data is made available on the web through RSS or ATOM feeds – twitter searches, your latest diggs, Google Search alerts, your own blog categories and so much more. You just have to look for that orange icon and you’ll surely find a lot more precious data, just waiting to be put into use. Today we are making a sleek feed widget, that will fetch any feed and display it in your blog sidebar. So go ahead, download the demo archive from the button above, and keep on reading.. Problem Solving Before stepping into development, we have to clarify for ourselves what we are aiming for, discuss some potential problems, and their solutions. Problem 1 – Fetching Feeds The widget is entirely front-end based, so we have to find a way to fetch the feeds directly with JavaScript. This is where YQL comes along. YQL is a free API service from Yahoo, with which you can do much more than just download feeds. Problem 2 – Different Feed Formats Step 1 – XHTML

Réduire la taille des ressources HTML, CSS et JavaScript  |  PageSpeed Insights  |  Google Developers Ces règles se déclenchent lorsque les analyses PageSpeed Insights indiquent que la taille de l'une de vos ressources pourrait faire l'objet d'une réduction. Présentation La réduction de la taille des ressources consiste à supprimer les octets inutiles, ceux utilisés par exemple par les espaces supplémentaires, les sauts de ligne et les mises en retrait. Recommandations Nous vous conseillons de réduire la taille de vos ressources HTML, CSS et JavaScript. Vous pouvez utiliser l'extension PageSpeed Insights pour Chrome afin de générer une version optimisée de votre code HTML et réduire la taille de vos ressources. Pour réduire la taille des ressources CSS, vous pouvez essayer YUI Compressor et cssmin.js. Pour réduire la taille des ressources JavaScript, utilisez Closure Compiler, JSMin ou YUI Compressor.

CSS3 text-shadow in IE10 - IEBlog IE10 in the Windows Developer Preview introduces support for hardware-accelerated CSS3 text-shadow. Text-shadow is one of the top requested features from Web developers. It enables text effects that were previously difficult or impossible to accomplish in a standards-friendly way without resorting to inline images of text. Text-Shadow in IE10 As its name suggests, text-shadow is a CSS property that draws a shadow behind text. Example of a purple text-shadow behind text Use it to draw attention to text and to give the text some depth. Example: a subtle text-shadow appears when navigating to Twitter in IE9 (left) and IE10 (right) Example: text-shadow appears when navigating to an auto service Web site in IE9 (left) and IE10 (right) IE10 supports the same definition of <shadow> across box-shadow and text-shadow as called out in the text-shadow spec: “<shadow> is the same as defined for the ‘box-shadow’ property except that the ‘inset’ keyword is not allowed.” How to Use Text-Shadow .shadow7 {

Related: