Get flash to fully experience Pearltrees
by Ginet Vincent - le 10/11/2011 Les technologies évoluent de plus en plus, pas seulement avec l'arrivée du HTML5 et CSS3 mais dans nos process de développement. Notre métier de designer web est connu pour évoluer de jour en jour, où il faut s'adapter aux nouvelles tendances et aux différentes utilisations du web. Aujourd'hui un tournant se fait dans les méthodes d'intégration au niveau du HTML et du CSS. Nous avons déjà parlé du Haml qui permet une simplification du code HTML.
Below is a list of CSS snippets that will help you minimize headaches, frustration and save your time while writing css, and I hope you will find it useful. Whether you are a experienced web developer, or just getting started with css, they are all worth checking out. Source
Les Medias Queries sont des propriétés CSS permettant d' adapter une page HTML à différents types d'écrans et résolutions . Imaginons que vous ayez développé un site web adapté aux résolutions classiques: 1024px / 1280px de largeur, qu'avec la démocratisation des smartphones et tablettes, vous souhaitiez rendre votre site compatible sur ces écrans, sans toucher au HTML... Grâce aux CSS3 medias queries , extensions des types media en CSS2 (print, screen), c'est possible ! Voici quelques exemples de medias queries pratiques que vous pourriez utiliser sur vos prochaines réalisations web:
Published by Chris Coyier Block level elements are naturally as wide as their parent element. So let's say you put an <h2>in your <body> (and you've used reset CSS so there is no padding on the body) that <h2>is automatically the full width of the browser window. It doesn't need any help. But it's pretty rare (and stupid) these days to set text at the full browser window width (for desktop/laptop size screens). It's just too wide, the line length is too long to be readable.
Color animate any shape with CSS3 and a PNG Let’s start this compilation with an interesting effect created using only CSS3: A png image with a changing background. The background is using CSS3 transitions.
Cascading Style Sheet (CSS) is a document format which provides a set of style rules which can then be incorporated in an XHTML or HTML document. It is a means to separate web content from formatting and presentation information. Although CSS is generally considered a simple and straightforward language, sometimes it requires creativity, skill and a bit of experimentation. The good news is that designers and developers worldwide often face similar problems and choose to share their insights and workarounds with the wider community.
How do you target Internet Explorer in your CSS? Do you use CSS hacks, conditional stylesheets or something else? It’s the perfect trollbait. There have been plenty of discussions about this, and I don’t mean to start a new one. Everyone’s entitled to their own opinion, but the thing is that it’s not purely a philosophical matter. I am writing this article because I noticed there’s a lot of misunderstanding on the subject of CSS hacks.
Mastering multiple programming languages and frameworks is no easy tasks for any evolving or growing web developer and designer. Although mastering the art could prove really productive. That is why we have lot of web design resources and tutorials been created for one to understand the concept better. One important feature in the list is “Cheat Sheets” which are very practical helpers for anyone willing to code with these standards.
In this post we have 25 CSS snippets and hacks that will solve many of the most frequently used and, at times, frustrating CSS development tasks. Why reinvent the wheel when there are already plenty of time-saving pre-written CSS code snippets? As well as some classic and timeless CSS hacks you will also find many CSS3 snippets, like box-shadow, border-radius,linear-gradient and many more. Adding shadow to text – text-shadow Helps make your text stand out from the rest.
I believe in the power, speed and “update-ability” of CSS3. Not having to load background images as structural enhancements (such as PNGs for rounded corners and gradients) can save time in production (i.e. billable hours) and loading (i.e. page speed). At our company, we’ve happily been using CSS3 on client websites for over a year now, and I find that implementing many of these properties right now is the most sensible way to build websites. Until today, all of that was based on an assumption: that I can produce a pixel-perfect Web page with CSS3 quicker than I can with older image-based CSS methods, and that the CSS3 page will load faster, with a smaller overall file size and fewer HTTP requests. As a single use case experiment, I decided to design and code a Web page and add visual enhancements twice: once with CSS3, and a second time using background images sliced directly from the PSD.
I present you with the CSS Stress Test bookmarklet. Now let me explain: I have been losing my sanity over the oddest issue. The project I’m working on right now has a fairly complex stylesheet. Performance for the site is absolutely critical. I’ve done my best to squeeze and optimize every line I can. In all browsers, it runs like a champion.
Tables continue to be one of the best ways to present a lot of information in a easy-to-read manner. From side-by-side comparisons to big data presentation, tables feed into our human desire of wanting to see things as organized grids. And while tables have been part of HTML practically since it begun, CSS has allows HTML tabular data to progress to be more advanced, usable, and, well, darn good-looking. In this article you will find a selection of tutorials and resources for styling HTML data tables with only CSS. CSS Data Table Techniques
CSS frameworks are a Gods send. They speed up development, ensure usability, meet all W3C standards, compatabile across most browsers and a hell of a lot more. Sounds marvelous doesn’t it. Why doesn’t everybody use them? Well, for the novice developer, frameworks, may be a little bit tricky to get there head around? That is were this article comes in, to hopefully give everybody a better understanding of what a framework is and how to use it effectively.
CSS3 is a wonderful thing, but it’s easy to be bamboozled by the transforms and animations (many of which are vendor-specific) and forget about the nuts-and-bolts selectors that have also been added to the specification. A number of powerful new pseudo-selectors (16 are listed in the latest W3C spec ) enable us to select elements based on a range of new criteria. Before we look at these new CSS3 pseudo-classes, let’s briefly delve into the dusty past of the Web and chart the journey of these often misunderstood selectors. A Brief History Of Pseudo-Classes When the CSS1 spec was completed back in 1996, a few pseudo-selectors were included, many of which you probably use almost every day.
Why would you ever need to optimize (or optimise, which ever spelling you prefer) or reFormat your CSS? Optimizing your CSS will not only allow your web page to load quicker, it also increases the durability and resilience of your site when there is a spike in visitors (i.e. the Digg effect) and, for me, the most important part is that it gives you more readable code. Some of these tools are fairly basic, offering optimization and formatting without many options or user control, which are fine for coders with limited knowledge. For the CSS pros, there are some advanced tools and apps that will allow you to choose the level of compression and also offer many options regarding your optimized CSS. You can choose to eliminate unused selectors and properties, unwanted whitespace, tabs, comments and you can even change the longhand declaration to shorthand notations. No one who codes there CSS has complete confidence that it is perfectly formatted, this is were these tools come in and help.