background preloader

53 CSS-Techniques You Couldn't Live Without

Advertisement Many companies try to create a great experience for customers. But few are willing to make the changes required to deliver on that promise. In fact most don’t even realize just how bad their experience can be. This is why we made a new book called “User Experience Revolution,” a practical battle plan for placing the user at the heart of your company. Get the book now! CSS is important. Over the last few years web-developers have written many articles about CSS and developed many useful techniques, which can save you a lot of time – of course, if you are able to find them in time. Let’s take a look at 53 CSS-based techniques here at Smashing Mag you should always have ready to hand if you develop web-sites. 1. 2. 3. 4. 5 Powerful Tips And Tricks For Print Style Sheets7 5. Generated content was first introduced in the CSS2 specification. 7. 8. 9. 10. Stephen Shaw introduces a technique for perfect horizontal and vertical centering in CSS, at any width or height. 11. 12. 13.

Introduction - Tutoriel HTML & CSS À qui s'adresse ce tutoriel ? À ceux qui veulent apprendre comment créer des sites internet : je vais vous apprendre tout de suite la meilleure méthode de le faire. En effet, le HTML est un standard très riche et permissif. Pédagogie du tutoriel Un peu plus bas sur cette page, nous commencerons par voir en quoi la séparation du contenu (HTML) et de la forme (CSS) est essentielle, ainsi que ses avantages par rapport aux éditeurs WYSIWYG classiques. Puis, le tutoriel sera séparé en deux grandes parties théoriques. Ensuite, nous passerons à la pratique avec pas moins de deux parties conséquentes : tout d'abord en apprenant des techniques et exemples de mises en forme faciles et utiles, puis en reprenant nos pages HTML pour les mettre en forme grâce à une maquette de site internet typique. Ce tutoriel étant gros, il est subdivisé en plusieurs pages. Séparation du contenu et de la forme Il a beaucoup été mention de séparation du contenu et de la forme dans les sections précédentes.

Most used CSS tricks Earlier before I have written an article about current best CSS hacks which you can see here And now here’s the list of today’s most used CSS tricks – tips. I have added image examples for most of them because of critics on CSS hacks article. If you think I have missed any please let me know 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12.

tommoor/tinycon A List Apart: Articles: Sliding Doors of CSS A rarely discussed advantage of CSS is the ability to layer background images, allowing them to slide over each other to create certain effects. CSS2’s current state requires a separate HTML element for each background image. In many cases, typical markup for common interface components has already provided several elements for our use. Article Continues Below One of those cases is tabbed navigation. What if we could take the exact same markup from the tabs above, and turn them into something like this: With simple styling, we can. Where’s the Innovation? Many of the CSS-based tabs I’ve seen suffer from the same generic features: blocky rectangles of color, maybe an outline, a border disappears for the current tab, a color changes for the hover state. Prior to a more widespread adoption of CSS, we started seeing a lot of innovation in navigation design. Pure text navigation is much easier to maintain and loads more quickly than text-as-image navigation. Tab Creation#creation

weByo 10 Useful Usability Findings and Guidelines - Smashing UX Design Advertisement Everyone would agree that usability is an important aspect of Web design. Whether you’re working on a portfolio website, online store or Web app, making your pages easy and enjoyable for your visitors to use is key. Many studies have been done over the years on various aspects of Web and interface design, and the findings are valuable in helping us improve our work. Here are 10 useful usability findings and guidelines that may help you improve the user experience on your websites. 1. A study by UX Matters found that the ideal position for labels in forms is above the fields. Tumblr features a simple and elegant sign-up form that adheres to UX Matter’s recommendation. Positioning labels on the left also poses another problem: do you left-align or right-align the labels? 2. People instinctively notice other people right away when they come into view. Eye-tracking heat map of a baby looking directly at us, from the UsableWorld study. And now the baby is looking at the content.

Css Slideshow jQuery performant : SlideMe novembre 8th 2013 Vous recherchez un slideshow performant, moderne et responsive : […] récupération de données avec Ontrack avril 16th 2013 Si cela ne vous est jamais arrivé de perdre […] Pack noël et icons gratuites décembre 20th 2012 Allez c’est bientôt Noël et vous avez surement besoin […] Really Simple Slideshow plugin jQuery août 22nd 2012 Voici Really Simple Slideshow un nouveau venu dans le […] Boosteo création de site Web sur Lyon août 17th 2012 A découvrir sur Lyon, Boosteo vous propose son expérience […] Roudabout carrousel jQuery juillet 16th 2012 Voici aujourd’hui Roundabout petit plugin jQuery surpuissant pour faire […] RefineSlide slideshow 3d jQuery juillet 13th 2012 RefineSlide est un nouveau petit plugin jQuery ultra léger […] Freshy icons jeu d’icones gratuit mai 12th 2012 Voici un nouveau jeu d’icones joliment fait par un […] 350 icones gratuites avril 20th 2012 Après quelques mois de dur labeur nous revoilà avec […] Slidorion accordéon avec slider jquery

CSS Layout - 100% height Min-height The #container element of this page has a min-height of 100%. That way, if the content requires more height than the viewport provides, the height of #content forces #container to become longer as well. Possible columns in #content can then be visualised with a background image on #container; divs are not table cells, and you don't need (or want) the fysical elements to create such a visual effect. If you're not yet convinced; think wobbly lines and gradients instead of straight lines and simple color schemes. Relative positioning Because #container has a relative position, #footer will always remain at its bottom; since the min-height mentioned above does not prevent #container from scaling, this will work even if (or rather especially when) #content forces #container to become longer. Padding-bottom Since it is no longer in the normal flow, padding-bottom of #content now provides the space for the absolute #footer. Back to CSS Examples

multimedialab Le web est un médium spécifique: accessible grâce à un navigateur, il rend accessible une série sans cesse croissante de sites aux statuts les plus divers (services, pages personnelles, web art, commerce, etc). Une série de normes, définies par le W3 C (World Wide Web Consortium) définissent les conditions d'accès à ces ressources, dans le cadre d'une technologie mise au point au CERN par Tim-Berners Lee en 1990. La connaissance et l'application de ces normes est un des aspects incontournables du webdesign: référencement dans les moteurs de recherches, qualité de l'affichage, chargement correct de la page, etc... Pour réaliser des projets de ce type, un choix d'outils logiciels est nécessaire, induisant une manière personnelle de les utiliser, voire de les détourner. La première chose à faire sera de consacrer le temps nécessaire à comprendre en profondeur les principes fondamentaux de la publication en ligne. 4 exemples de sites particulièremment soignés (forme & contenu): Webdesigner ?

Mastering CSS, Part 2: Advanced Techniques and Tools - Smashing Coding Advertisement CSS is one of the most basic building blocks of modern web design. It creates the structure and style that surrounds your content and is capable of making your site a joy to use or a pain in the neck. In Part 1: Styling Design Elements we covered the basics of web design with CSS. 1. CSS can be used to build calendars, timelines, and even “tables” (or charts). CSS/jQuery Sequential List Have you ever had to manually code something that is sequential? Date displays with sprites This tutorial explains how to achieve an original date display using CSS sprites. Pure CSS Timeline A great tutorial for creating a clean-looking timeline for your site using straightforward CSS and HTML markup. A CSS-based Timeline Another tutorial for creating a timeline with CSS. iCal-like Calendar (CSS+jQuery) A great tutorial for creating a dynamic calendar resembling the iCal application. Build a Calendar Using PHP, XHTML, and CSS Example A simple tutorial for creating a dynamic online calendar.

50+ CSS Techniques Designers Should Know 118 Flares Twitter 9 Facebook 0 Google+ 0 StumbleUpon 109 Pin It Share 0 118 Flares × CSS (Cascading Style Sheets) is just an important part of Web Designing. Without CSS, Websites can look untidy as it used to happen before. Designers can alter images, graphics, shading, spacing and other design elements. It can provide the designers with number of new styles to design a website. It can make the user to have complete control over the appearance of the website. Navigation Matrix Reloaded Advance CSS Menus Block Hover Effect for a List of Links Cross Browser CSS SlideShow Hoverbox Image Gallery CSS Tabs Make Clickable Areas Bigger CSS-Based Forms: Techniques CSS Based Image Maps Sliding Photograph Galleries CSS For Bar Graphs Control Tabs Some styles for your Pagination No JavaScript LightBox Using CSS Drop shadow on an image CSS Shadows Styling blockquotes with CSS Glowing Tabs Menu Image Replacement for Buttons Cross Browser Multi-Page Photograph Gallery Footer Stick CSS Star Rating Part Redux CSS Map Pop

Powerful CSS-Techniques For Effective Coding | CSS Advertisement Sometimes being a web-developer is just damn hard. Particularly coding is often responsible for slowing down our workflow, reducing the quality of our work and sleepless nights with pizza and coffee laying around the laptop. Reason: with a number of incompatibility issues and quite creative rendering engines it sometimes takes too much time to find a workaround for some problem without addressing browsers with quirky hacks. And that’s where ready-to-use solutions developed by other designers come in handy. One year ago we’ve published the post with 53 CSS-Techniques You Couldn’t Live Without where we provided references to the most useful CSS-techniques which are often used in almost every project. In this post we present 50 new CSS-techniques, ideas and ready-to-use solutions for effective coding. Thanks to all developers who contributed to the CSS-based design over the last year. CSS-Techniques 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22.

Tutoriel XHTML, cours pour apprendre les standards Le contexte qui entoure XHTML Un langage de balisage ? Avant XHTML Principes indissociables Pourquoi passer à XHTML Penser XHTML Les technologies accompagnant XHTML Un document XHTML Entête Corps Les types de données Les ressources indispensables Ressources francophones Ressources anglophones Les outils de validation La trousse à outils du webmestre A propos Remerciements Réutilisations Le contexte qui entoure XHTML Un langage naît toujours dans un contexte particulier et il est généralement l'expression d'un besoin qui s'est fait ressentir à un moment donné. Un langage de balisage Avant d'aller plus loin, vous devez comprende une notion simple mais souvent oubliée, même par les initiés. <html xmlns=" On peut remarquer dans cet exemple qu'une balise peut contenir trois types d'informations : Dans l'exemple, ci-dessous, 'element1' est un élément parent de 'element2'. <element1>(...) Lorsqu'une balise contient d'autres balises, des règles simples s'appliquent. Avant XHTML Le

Guide to CSS Font Stacks: Techniques and Resources - Smashing Coding Advertisement CSS Font stacks are one of those things that elude a lot of designers. Many stick to the basic stacks Dreamweaver auto-recommends or go even more basic by just specifying a single web-safe font. But doing either of those things means you’re missing out on some great typography options. Creating Your Own Font Stacks There are a huge variety of font stacks recommended. First of all, make sure you always include a generic font family at the end of your font stacks. Third, make sure you pay attention to the scale of the fonts in your stack. Common Font Stacks A lot of designers out there have taken a crack at creating ideal font stacks. Better CSS Font Stacks Unit Interactive published an article last summer with a collection of “better” CSS font stacks. Here are some listed for body text: For headlines: Georgia, Times, ‘Times New Roman’, serifPalatino, ‘Palatino Linotype’, ‘Hoefler Text’, Times, ‘Times New Roman’, serifTahoma, Verdana, GenevaTrebuchet, Tahoma, Arial, sans-serif

Related: