background preloader

Ressources 2

Facebook Twitter

Fun with Viewport Units. By Miriam Suzanne On viewport units Viewport units have been around for several years now, with near-perfect support in the major browsers, but I keep finding new and exciting ways to use them.

Fun with Viewport Units

I thought it would be fun to review the basics, and then round-up some of my favorite use-cases. Customize HTML Audio via CSS - Introducing: AmplitudeJS - Server Side Up. Due to the amount of questions and feedback from I’ve decided to create an easy to use library that wraps the existing functions of the HTML 5 audio tag and allows for easy styling.

Customize HTML Audio via CSS - Introducing: AmplitudeJS - Server Side Up

You can customize HTML Audio CSS and the library allows use to easily brand and define the UX of their audio on their website. Graaf, pure CSS grid overlays. Owl Carousel 2 Testimonial Slider. Free PSD Goodies and Mockups for Designers: RIMBO FREE FONT. Hello Everyone!

Free PSD Goodies and Mockups for Designers: RIMBO FREE FONT

We are proud to present to you a brand new really nice font made by Marcelo Reis Melo, exclusive for Free Goodies for Designers. AMP by Example. A grouped pure CSS parallax demo by Keith Clark. CSS Grid, Flexbox And Box Alignment: Our New System For Web Layout. Advertisement Meet the new Sketch Handbook, our brand new Smashing book that will help you master all the tricky, advanced facets of Sketch.

CSS Grid, Flexbox And Box Alignment: Our New System For Web Layout

Filled with practical examples and tutorials in 12 chapters, the book will help you become more proficient in your work. Get the book now → Editor’s note: Please note that this article is quite lengthy, and contains dozens of CodePen embeds for an interactive view. The page might take a little while to load, so please be patient. Layout on the web is hard. In this article, I’m going to explain how these fit together, and you’ll discover that by understanding flexbox you are very close to understanding much of grid layout. A Note On Browser Support Link CSS grid layout is currently behind a flag or available in the developer and nightly builds of Firefox, Safari, Chrome and Opera.

Pure CSS Parallax Websites by Keith Clark. This article demonstrates how to use CSS transforms, perspective and some scaling trickery to create a pure CSS parallax scrolling website.

Pure CSS Parallax Websites by Keith Clark

If you find this article useful and want to explore CSS Parallax further, you may find my follow-up article "Practical CSS Parallax" an interesting read. Parallax is almost always handled with JavaScript and, more often than not, it's implemented badly with the worst offenders listening for the scroll event and modifying the DOM directly in the handler, triggering needless reflows and paints. All this happens out of sync with the browsers rendering pipeline causing dropped frames and stuttering.

Convert any major image format into a highly optimized JPEG. Twelve Fancy Chrome DevTools Tips. Breakpoints in JavaScript.

Twelve Fancy Chrome DevTools Tips

TinyPNG – Compress PNG images while preserving transparency. Ceaser - CSS Easing Animation Tool - Matthew Lein. Vertical slide concertina menu suitable for all modern browsers and OS. Date : 26th August 2014 For all modern browsers This demo is too wide for your mobile screen.Please view on a tablet or PC.

Vertical slide concertina menu suitable for all modern browsers and OS

Information A vertical sliding concertina menu that will stay vertically and horizontally centered in the parent element when showing the sub menus. Bootstrap/js at master · twbs/bootstrap. Les 30 Sélecteurs CSS à Absolument Connaître. Vous connaissez les sélecteurs de base - id, class et descendant - et vous vous dites que c'est déjà bien suffisant ?

Les 30 Sélecteurs CSS à Absolument Connaître

Si c'est le cas, sachez que vous vous interdisez d'accéder à un niveau de flexibilité insoupçonné. Même si beaucoup des sélecteurs mentionnés dans cet article appartiennent aux spécificités CSS3 et ne sont donc disponibles que dans les navigateurs modernes, ne passez pas à côté et essayez de les mémoriser. Commençons par les plus évidents, pour les débutants, avant de passer aux sélecteurs plus avancés. L'astérisque cible tous les éléments de la page. Beaucoup de développeurs utilisent cette astuce pour remettre à zéro les margess et les espacements. Le symbole * peut aussi être utilisé avec des sélecteurs d'enfants. Lightgallery.js. Reading Position Indicator. By Pankaj Parashar On JavaScript, reading position The following is a guest post by Pankaj Parashar.

Reading Position Indicator

Pankaj has written here before, last time about the progress element. I'm happy to have Pankaj back, this time to tackle the idea of showing reading progress (or really, a scroll position indicator) on websites, which has been a mini-trend lately. Lately I've seen quite a few websites that have some kind of an indicator to display the current reading position (how much you have "read", depending on how far you have scrolled down an article). Generally, such indicators are used on blog posts or long form articles and help readers understand how far they are from finishing the article. Here are some examples: Interestingly, all three techniques represent the same information but with a different approach. In this article, we'll focus on the first technique that uses a horizontal progress bar as the indicator. Les 30 Sélecteurs CSS à Absolument Connaître. Experiments with cascading style sheets.

Image Grid Effects. Key concepts / Methodology / BEM. Methodology Block A logically and functionally independent page component, the equivalent of a component in Web Components.

Key concepts / Methodology / BEM

CSS Filter Effects: Blur, Grayscale, Brightness and More in CSS! A sample of the CSS filter effect possibilities in this article! Filters were originally part of the SVG specification. However, when their usefulness became evident, W3C started working on adding some common filter effects to CSS as well. The EMs have it: Proportional Media Queries FTW! - Cloud Four. Hay, I wrote this in 2012! I still like the notion of the metaphorical connection between content-based sizing units (e.g. ems) and layout definitions (e.g. breakpoints). And the zooming behavior cited here was always meant more as a sidelong example than a core argument. Nonetheless! You should note that the zooming behavior has long since been made consistent in browsers (i.e. fixed). Keep that in mind if you cite or otherwise put stock in this post. –Lyza, March 11, 2015. Coding mobile-first emails — Campaign Monitor Engineering. Coding mobile-first emails A practical step-by-step guide You may have read our announcement on the Campaign Monitor blog that email campaigns created with our Email Builder now render beautifully across all major devices and clients.

This includes the Gmail and Yahoo! Mail apps on Android and iOS. While that post focused on the impact this breakthrough will have on your campaigns and the subscribers who open them, here I want to jump into the nerdy, gritty details of how we achieved it. Typically, emails are coded starting with an old school, table based desktop version, with mobile styles applied through a max-width media query to reflow the tables. We’re going to flip the formula and start with the mobile version first instead, then work our way back to the desktop version. Tutoriel Vidéo Javascript Carte interactive en SVG.

Dans ce tutoriel nous allons voir une nouvelle méthode pour créer une carte interactive en HTML / CSS et JavaScript. Le principe est d'utiliser un SVG pour dessiner la carte et détecter les zones sélectionnables. L'ancienne méthode Pour créer le même effet précédemment on utilisait une image avec une <map> pour détecter la région sélectionné. Cette méthode posait plusieurs problèmes :