background preloader

Le petit journal permanent de CSS3

Le petit journal permanent de CSS3

How To Create 3D Text using CSS3 I am very happy to see, CSS3 finally eliminates the use of Photoshop in terms of giving text shadows. I was just trying my hands on text shadows in CSS3 and thought of creating 3D text by giving multiple shadows and got something wonderful. Earlier Text Shadows were announced since the beginning of CSS2 however, the only browser that was supporting this functionality was Safari. If you talk about today’s condition, almost all the browsers except Internet Explorer are running Text Shadows successfully. I agree that we would not be able to use these shadows for clients for next few years because of cross browser compatibility however these features can help you push the boundaries of modern Web Technology today. We do have certain jQuery plug-ins available like IE CSS Shadow that can create shadowed text completely compatible with Internet Explorer. Let’s learn how we create 3D text using CSS3. HTML code written below will land up in between the body tag. Let’s Download and Tweak with it.

CSS2 - The display declaration The display property lets you define how a certain HTML element should be displayed. display: block display: block means that the element is displayed as a block, as paragraphs and headers have always been. A block has some whitespace above and below it and tolerates no HTML elements next to it, except when ordered otherwise (by adding a float declaration to another element, for instance). Live example: display: inline display: inline means that the element is displayed inline, inside the current block on the same line. display: block display: inline display: none display: none means that the element is not displayed at all (so you won't see it in the example either). display: none display: inline-block An inline block is placed inline (ie. on the same line as adjacent content), but it behaves as a block. display: block Let's add some content to see how the block behaves. display: inline-block; width: 10emLet's add some content to see how the block behaves. display: list-item display: list-item

CSS References, Tutorials, Cheat Sheets, Conversion Tables and Short Codes Whether you’re a CSS guru or a CSS novice you will always need some help, some resources, some tutorials, some references and, of course, some cheat sheets. In this article we have collected the best resources for answering all possible CSS questions as well as how to understand CSS and how to use it properly. There are also CSS property references, cheat sheets, not only typical cheat sheets, but also cheat sheets for CSS frameworks, conversion tables and CSS short-hand. CSS Reference and Learning Core CSS: Part I Most people have learned CSS the same way they’ve learned HTML—by viewing source, copying template codes, reading books and articles. Core CSS: Part II Core CSS: Part II covers CSS 2.0/2.1 selectors. Core CSS: Part III To understand and manage attractive design and layouts, gaining an appreciation for the how to manage the CSS Box Model, Floats and Positioning is paramount. SitePoint CSS Reference CSS Basics CSS Basics is a fantastic CSS learning and reference resource. Cheat Sheets

Communication : 3 conseils pour développer son influence grâce au Web Internet est un média de communication au potentiel immense qui présente des avantages considérables pour tous les entrepreneurs : accessible à tous, économique, il offre un lien avec des millions de personnes…. Vous y croisez aussi bien vos clients actuels que des acheteurs potentiels, mais aussi de futurs collaborateurs, partenaires ou fournisseurs. En utilisant ce puissant levier pour développer votre influence, vous allez disposer d’un véritable avantage concurrentiel. Pour y parvenir, voici 3 conseils qui vous seront sûrement utiles : Être une source d’information crédible Vous êtes un professionnel et vous connaissez parfaitement tous les aspects de votre métier ? Mettez-vous simplement à la place du lecteur et apportez-lui, dans un langage simple, du contenu qui va pouvoir lui être utile. Échanger et aider Internet est un espace communautaire, qui se nourrit d’échanges et d’interactivité. Participer à des projets collaboratifs

Les sélecteurs 5.1 La reconnaissance d'un motif En CSS, des règles de reconnaissance de motifs déterminent les règles de style qui s'appliquent aux éléments de l'arbre du document. Ces motifs, nommés sélecteurs, sont variés, allant du simple nom d'un élément jusqu'aux riches motifs contextuels. Quand toutes les conditions d'un motif sont vérifiées pour un élément donné, celui-ci est retenu par le sélecteur. Dans un sélecteur, la sensibilité à la casse d'un nom d'élément du document dépend du langage utilisé pour le document. Cette table résume la syntaxe du sélecteur de CSS2 : 5.2 La syntaxe des sélecteurs Un sélecteur simple est soit un sélecteur de type, soit un sélecteur universel immédiatement suivi par un sélecteur d'attribut, un sélecteur d'ID ou une pseudo-classes, zéro ou plusieurs de ceux-ci, dans n'importe quel ordre. sélecteur consiste en une succession d'un, ou plusieurs, sélecteurs simples, séparés par des combinateurs. combinateurs sont : les caractères blancs et les caractères ">" et "+". sujets

Pure CSS(3) accordion — Venturelab dev team blog—Venturelab—Invest | Inpsire | Ignite 17 February, 2011 I tend to do a lot of tinkering with code, and came up with something that’s not so new, but still, in my opinion, pretty cool. An accordion using nothing but semantic HTML, CSS and some nice progressive CSS3. Demo This article has been ported from the now-defunct Venturelab Devblog, where I had originally authored it. Horizontal accordion Let’s start with the markup for the horizontal accordion, it’s really nothing special, just some good ol’ semantic HTML: <ul class="accordion"><li class="slide-01"><div><h2>Slide one</h2><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Here we have a simple unordered list containing a series of class-named list items and some content. It’s all fairly self-explanatory; first we have the .accordion class for the <ul> where we define a width and overflow hidden (to clear floats) and some other bits and pieces. After this, we have a <div> to which we apply 10px padding. Now we reach the bit that makes the accordion functional:

The Pros And Cons Of CSS Resets A recent comment by Chris on my post about css vs tables, reminded me that developing cross-browser css still gives people trouble. Fortunately there’s an easy solution, which is to use a css reset file. However css resets have some cons along with the pros. Here’s Chris’ comment: One issue is that different browsers have different definitions of the padding and the margin variables. All true except for that last part about it being a pain to develop cross-browser css. I want to talk about the problem of different presentational defaults used by browsers, and then talk about how css resets solve the problem and why you may not want to use a css reset. The Problem of Browser Defaults When you add an <h1>to a web page, but don’t specifically style it in any way, that <h1>will by default have some styles associated with it. It will likely be larger than other text on the page, it will be bold, and it will have a certain amount of space above and below. The Simple Solution Pros Cons Summary

5 outils indispensables pour ma veille sur internet Si tu es un lecteur régulier de ce site (et je t’en remercie), tu as probablement remarqué mon insistance dans la recherche de solutions pour lire, classer et ordonner rapidement le contenu relatif à certains thèmes. J’y passe en effet une bonne partie de mon temps, sur des thématiques assez pointues en finance…. d’où mon intérêt. Si tu te demandes quels outils j’utilise au quotidien dans ma veille, voici donc un petit inventaire … Les outils que j’utilise au quotidien dans ma veille sur internet : Twitter (à ce stade, il y a trop peu de twittos dans mon domaine, twitter reste donc peu pertinent donc dans ma veille), avec notamment l’addon Yoono pour Firefox.Agrégation de tous mes flux RSS à l’aide de Google ReaderRécupération de l’ensemble des actualités avec Feedly, via mon compte Google Reader. Quels outils me faudrait-il pour améliorer l’existant ? Et vous, qu’utilisez vous dans votre veille quotidienne? Cet article vous a plu? Recherches récentes pour ce billet:

Related: