
Don't use flexbox for overall page layout When I was building this blog I tried to use flexbox for the overall page layout because I wanted to look cool and modern in front of my peers. However, like all of my other attempts to look cool and modern, it didn't really work. Why? Well, take my hand and follow me into the next section… Update: Don't let this post scare you off flexbox, it's one of the best layout systems we have on the web today. Flexbox vs Grid Here's a basic three column design: Here it is mocked up using flexbox (works in all modern browsers), and here it is using grid layout (works in IE10+). Browsers can progressively render content as it's streamed from the server, this is great because it means users can start consuming content before it's all arrived. It's difficult to spot too, you're unlikely to notice it while developing locally, or via a super-fast connection. Flexbox: content dictates layout Here's a simplified version of the layout: Grid: container dictates layout (to some extent) Further reading
Online CSS Unminifier - Peter Coles You may be aware of js unminifiers or beautifiers (such as jsbeautifier). I found myself wanting something similar for making minified CSS legible, so I built a simple tool using javascript to unminify CSS. It uses several regular expressions (and sometimes a split followed by a join) to generate the clean code and it also lets you specify tab width. <p>*The css unminifier requires javascript to work. Note: the easiest way to look a site’s CSS is to use a tool like firebug on firefox, but sometimes you still might want to view the full source to see any browser-specific hacks that won’t appear in firebug or to just take a peak at how someone may organize his or her code. Update: June 2011—It’s now all the rage to drop the semicolon from the last declaration in a CSS rule (right before the closing brace), so I updated the unminifier to handle this case and put an example in the sample CSS.
3 plateformes pour démarrer, apprendre ou vous perfectionner dans les technologies Web Que vous soyez un total novice souhaitant se réorienter professionnellement, un intégrateur voulant acquérir des bases en Javascript, ou un développeur cherchant des cours de qualité pour aller plus loin, l'article du jour devrait vous intéresser ! Le développement Web est une discipline assez dure à prendre en main, et exigeante avec les professionnels voulant se maintenir à jour. Si malgré tout c'est une branche qui vous attire, j'ai sélectionné pour vous 3 plateformes qui vous permettront d'apprendre, diversifier ou perfectionner vos connaissances en développement web. Codecademy Je ne sais pas si j'ai encore besoin de présenter codecademy vu le succès de cette plateforme. Gratuite, bien faite et vous permettant de vous mettre à la page sûr de nombreux langages, codecademy est sans doute un des meilleurs endroits sur le Web pour commencer à apprendre la programmation. CodeSchool Egghead Le moins que l'on puisse dire est que la plateforme n'a pas de cours pour "débutant" en programmation.
G CSS Grid Layout introduces a two-dimensional grid system to CSS. Grids can be used to lay out major page areas or small user interface elements. This article introduces the CSS Grid Layout and the new terminology that is part of the CSS Grid Layout Level 1 specification. The features shown in this overview will then be explained in greater detail in the rest of this guide. What is a grid? A grid is an intersecting set of horizontal and vertical lines – one set defining columns, and the other, rows. Fixed and flexible track sizes You can create a grid with fixed track sizes – using pixels for example. Item placement You can place items into a precise location on the grid using line numbers, names or by targeting an area of the grid. Creation of additional tracks to hold content You can define an explicit grid with grid layout. Alignment control Grid contains alignment features so we can control how the items align once placed into a grid area, and how the entire grid is aligned. Grid Tracks
21 outils et générateurs CSS pour développeurs web Les générateurs et outils CSS sont de plus en plus nombreux sur la toile, et facilitent la tâche des développeurs web en leur faisant gagner un gain de temps considérable, en particulier ceux qui génèrent du CSS3. Voici une liste non exhaustive de 21 ressources CSS à connaître et à tester dès maintenant ! 1. Bear CSS Bear CSS est un service qui permet de générer une feuille de style à partir d’un code HTML en prenant en compte les éléments et le balisage de la structure du document (id et classes CSS). Ainsi, vous gagnerez du temps au démarrage de la conception du style CSS. 2. CSS Type Set est un service qui permet de gérer la mise en forme d’un texte dans une interface simple et intuitive. 3. Border Radius est un générateur déstiné uniquement à la propriété CSS3 border-radius qui permet de créer des coins arrondis sur un élément HTML. 4. 5. 6. 7. 8. 9.
HTML Tutorial 17+ plugins Wordpress SEO La plateforme de blogs WordPress est déjà bien optimisée nativement pour le référencement naturel (SEO, Search Engine Optimisation). Cela dit, il existe une batterie de plugins pour aller encore plus loin dans l’optimisation. Voici une liste exhaustive des plugins que vous devez impérativement installer si vous êtes soucieux du référencement de votre blog wordpress. Robots Meta Ce plugin va vous permettre de manière très simple la création d’un fichier robots.txt. All in One SEO Pack Sans doute la référence des plugins wordpress pour le SEO. Voici une aperçue des options pour que vous vous rendiez compte : SEO Friendly images Référencer les articles de votre blog c’est bien mais référencer également les images, c’est mieux ! Le plugin SEO image Friendly va automatiquement renseigné la balise title et alt de vos images en se basant sur le titre de votre article par exemple. Seo Watcher
CSS Grid and Grid Inspector in Firefox CSS Grid Layout is a two-dimensional layout system for the web. It lets you lay content out in rows and columns, and has many features that make building complex layouts straightforward. This article will give you all you need to know to get started with page layout. What is grid layout? A grid is a collection of horizontal and vertical lines creating a pattern against which we can line up our design elements. They help us to create designs where elements don’t jump around or change width as we move from page to page, providing greater consistency on our websites. A grid will typically have columns, rows, and then gaps between each row and column — commonly referred to as gutters. Creating your grid in CSS Having decided on the grid that your design needs, you can use CSS Grid Layout to create that grid in CSS and place items onto it. Defining a grid As a starting point, download and open the starting point file in your text editor and browser (you can also see it live here). Summary See Also
17 Useful & Fresh Tools for Web Designers Don't Forget to participate in a contest where you can win an amazing e-Commerce template from TemplateMonster. Despite the fact that there is a huge plethora of web tools that are available for the web developers and designers to help them with their work, designers and developers always need some fresh tool that can expedite their work flow. A useful tool is just like a blessing for the designer and for the web developer as well. Having good tools and useful resources make web development easier and save time as well. Mailrox A web application to quickly build bulletproof HTML emails. BootMetro Simple and complete web UI framework to create web apps with Windows 8 Metro user interface. Spritebox Spritebox is a WYSIWYG tool to help web designers quickly and easily create CSS classes and IDs from a single sprite image. Tiny Fluid Grid The happy & awesome way to build fluid grid based websites. Sequence.js Sequence is the jQuery slider plugin with infinite style. TiltShift Jarallax Favicon 0to255