background preloader

Outils de développement web

Facebook Twitter

HTML5 Custom Data Attributes (data-*) Have you ever found yourself using element class names or rel attributes to store arbitrary snippets of metadata for the sole purpose of making your JavaScript simpler?

HTML5 Custom Data Attributes (data-*)

If you have, then I have some exciting news for you! If you haven't and you're thinking, Wow, that's a great idea! I implore you to rid your mind of that thought immediately and continue reading. Thanks to HTML5, we now have the ability to embed custom data attributes on all HTML elements. These new custom data attributes consist of two parts: Attribute Name. CSS Pseudo-classes. 95 typos gratuites et indispensables pour vos designs. Sign Up. How to Use Media Queries in Responsive Web Design. Photo credit: Jeremy Keith, Creative Commons Responsive web design has exploded in popularity — thanks to the need to create sites that work across numerous devices.

How to Use Media Queries in Responsive Web Design

However, responsive design comes with some problems of its own. The issue of slow-to-load sites is now well documented. Let’s walk through some of the tricks designers are using to better load content and images on different devices. Media Queries to Call Styles One of these tricks is the use of media queries, which work to call styles to the user device based on its dimensions. App - Icon Font, SVG, PDF & PNG Generator. Simple Pure CSS Drop Down Menu. How To Create a Pure CSS Dropdown Menu. With the help of some advanced selectors a dropdown menu can be easily created with CSS.

How To Create a Pure CSS Dropdown Menu

Throw in some fancy CSS3 properties and you can create a design that was once only achievable with background images and Javascript. Follow this tutorial to see the step by step process of building your own pure CSS dropdown menu. The menu we will be creating features two sub categories that appear once the parent link is activated by a hover. The first series of sub-links appear underneath main nav bar, then the second series of links fly out horizontally from the first dropdown.

Responsive Retina-Friendly Menu. Une feuille de styles de base pour le Web mobile. Parce que faire un site web pour terminal mobile, ce n’est pas fixer sa largeur à 320 pixels ou proposer une version iPhone uniquement, je vous propose un tour d’horizon de quelques solutions offertes par CSS pour adapter une présentation existante aux mobinautes : gérer la largeur, redimensionner les éléments, passer à une seule colonne, gérer les débordements, supprimer le superflu, adapter les liens et les tailles de polices selon l'orientation.

Une feuille de styles de base pour le Web mobile

Pour vous faciliter la tâche, voici ci-dessous une feuille de style dédiée au média mobile qui condense diverses bonnes pratiques et astuces. iPhone 6 Screens Demystified. Using media queries to handle HDPI screens ← The Publishing Project. One of the things that I find infuriating about multi device development is that people can’t seem to agree on a resolution or a device aspect ratio.

Using media queries to handle HDPI screens ← The Publishing Project

This has become even more complicated with the advent of retina devices (both hand-held, laptops and desktop devices). Trying to keep an identical layout in different screen sizes is impossible. Even if we could create identical experiences, the amount of image replacement we have to do to accommodate the different resolutions so our images will not look like crap just is more than I’d like to deal with. Device pixel density tests. If you have a device that isn’t listed below and has a -webkit-min-device-pixel-ratio that’s not 1.0, please let me know and I’ll add it to the list.

Device pixel density tests

I’m @marcedwards on Twitter. ImageOptim — better Save For Web. PunyPNG - PNG Compression and Image Optimization. Les Media Queries CSS3. La spécification CSS3 Media Queries définit les techniques pour l'application de feuilles de styles en fonction des périphériques de consultation utilisés pour du HTML.

Les Media Queries CSS3

Les Media Queries CSS3. Media Queries for Standard Devices. If you think responsive's simple, I feel bad for you son.

Media Queries for Standard Devices

We got 99 viewports, but the iPhone's just one. —Josh Brewer, March 10, 2010 A major component of responsive design is creating the right experience for the right device. With a gazillion different devices on the market, this can be a tall task. Mobile-Friendly Test. This test will analyze a URL and report if the page has a mobile-friendly design.

Mobile-Friendly Test

Learn more about the mobile-friendly criteria and how it may affect Google's search results by reading our blog post. Ebook Publishing Software Resources. By Colleen Cunningham, Senior Ebook Developer, F+W Media Here at Digital Book World we published an article (InDesign to Ebook: Resources), which summed up useful resources and tools for producing ebooks.

Ebook Publishing Software Resources

After getting a great response from the community, we decided to make a dedicated e-production resources page here that we’ll keep updated. Please email suggestions to Colleen Cunningham. If you are new to ebook production, start with The Basics section for a short introduction. Or do you want to jump right in and get started? Resources — the best learning materialsTools — popular software in ebook productionQuality Assurance — advice for ebook developers and those who outsource their digital production Ebooks and ereaders cannot exist without the other. Many print designers ask, “How much CSS and HTML do I really need to learn?” How to make an ebook file validate: This ensures that the file is functioning properly. Plans and Pricing. Sauce Labs: Pricing. Tooltipster - The jQuery Tooltip Plugin. Styling your tooltips with a custom look ⇑ Tooltipster makes it very easy to go from one of the packaged themes and customize a few properties of your choice.

To do so, we recommend that you create a so-called "secondary theme" which will override some properties of a packaged theme. Create a new css file and include it in your page. Inside the file, declare your customized rules like this: For your secondary theme to be applied, provide an array of themes instead of just one. Changing the size of the arrow might be the only challenging customization but it's doable! Tooltipster - The jQuery Tooltip Plugin.

Hype 3. A Pen by Captain Anonymous. Zebra Striping with Rowspan + Hover. Zebra Striping with Rowspan + Hover. Using @font-face. The @font-face rule allows custom fonts to be loaded on a webpage. Once added to a stylesheet, the rule instructs the browser to download the font from where it is hosted, then display it as specified in the CSS.

Without the rule, our designs are limited to the fonts that are already loaded on a user's computer, which vary depending on the system being used. Here's a nice breakdown of existing system fonts. Deepest Possible Browser Support This is the method with the deepest support possible right now. Custom Drop-Down List Styling. Fonticons. Font Awesome, the iconic font and CSS toolkit. InfoBox v1.1.12 [December 11, 2012] Reference. InfoBox extends the Google Maps JavaScript API V3 OverlayView class. An InfoBox behaves like a google.maps.InfoWindow, but it supports several additional properties for advanced styling. An InfoBox can also be used as a map label. An InfoBox also fires the same events as a google.maps.InfoWindow. Google-maps-utility-library-v3 - Revision 473: /tags/markerclustererplus/2.1.2. InfoBubble. FrootVPN. Icons - Marka. Google Maps JavaScript API V3 Reference - Google Maps JavaScript API v3.

Release Version Last updated Tuesday, July 29, 2014 This reference documents version 3.18 (the release version) of the Maps Javascript API released May 15, 2014. This release version of the API is a feature-stable version of the API whose interfaces are guaranteed to remain as documented within these pages until this version is retired. To consult the latest (experimental) version of the Maps Javascript API, see the Experimental Development Reference.

Reference Table of Contents Map Controls Data.