Flatly Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater.
Introduction à WebRTC Démos de "produits" commerciaux ou non... WebRTC : principes du standard De nombreux produits font déjà du RTC : Skype, FaceTime, Hangouts, etc. Mais c'est natif ! The guiding principles of the WebRTC project are that its APIs should be open source, free, standardized, built into web browsers and more efficient than existing technologies... WebRTC s'appuie sur trois APIs MediaStream (aka getUserMedia) : webcam, micro, choix des sources (si multiples), RTCPeerConnection : appel audio ou vidéo streamés en p2p, avec chiffrement et gestion de la bande passante, RTCDataChannel : communication p2p de données génériques. Support : Chrome, Opera, FireFox, desktop et Android. Etapes pour établir une communication (point de vue client) Récupérer des flux audio et/ou vidéo, choisir la source (front cam, rear cam, etc.) MediaStream API (aka getUserMedia) getUserMedia, juste quelques lignes de code Un poil plus compliqué cependant (prefixes) Autre démos avec la webcam ou le micro MediaStream pour WebRTC...
Aide mémoire pour Bootstrap | Maths, Info, etc. Twitter Bootstrap est une collection d'outils utile à la création de sites web et applications web. C'est un ensemble qui contient des codes HTML et CSS, des formulaires, boutons, outils de navigation et autres éléments interactifs, ainsi que des extensions JavaScript en option.Cette plate-forme a été conçue par deux développeurs faisant partie de la mouvance de développeurs qui gravitent autour de Twitter, Mark Otto et Jacob Thornton (@mdo et @fat).Ce site utilise un modèle basé sur Bootstrap. Cette page a pour objectif de lister les différents éléments gérés par Bootstrap pouvant être intégrés dans les pages et les articles utilisant ce modèle. La page est divisée en 12 colonnes.Pour écrire sur deux colonnes : <div class="row"><div class="col-lg-6"> Première colonne </div><div class="col-lg-6"> Deuxième colonne </div></div> Première colonne Deuxième colonne Pour écrire sur trois colonnes : Troisième colonne Boutons simples Boutons déroulants Taille des boutons Boutons de type bloc <! <h1 > h1.
AngularJS vs Backbone.js vs Ember.js―Choosing a JavaScript Framework [Part 2] In the first part of this article we talked about the questions you need to ask before choosing a JavaScript framework. Once we have decided on the need for a framework, we saw how aspects like features of the framework, difficulty-level in learning, external dependencies and the level of community support guide our choice. In this second and concluding part we are going to compare the three most popular JS frameworks namely AngularJS, Backbone.js and Ember.js. The 5 parameters on which we will evaluate the three frameworks include: SizeGetting startedDeveloper productivityCommunity support and popularityUsers A quick glimpse into each of the three frameworks and what they do: AngularJS Who: Developed by Google; used internally by them and MIT licensed. What: Angular follows the MVC pattern of software engineering and encourages loose coupling between presentation, data, and logic components. Backbone.js Ember.js Let us now see how these three frameworks compare against one another. Size Users
Beautiful Buttons for Twitter Bootstrappers This is an extension to the Twitter Bootstrap framework. It makes creating pretty buttons easy. (Send improvements to @charliepark.) First, monkey with the sliders on the left. Use your arrow keys for extra precision. Second, copy the CSS in the box below. You should be able to just pop it into your CSS file.
CSS Scroll Snap Points CSS recently introduced a scroll snap points feature that gives users a fluid and precise scrolling experience for touch and input devices. There are plenty of jQuery plugins available that create scroll snap effects. But instead of installing a plugin to control scrolling behavior, we can add scroll snap points with native CSS. In this post, I’m going to cover the CSS properties we can use to add scroll snap points to our websites and applications. How Scroll Snap Points Work We can control the scrolling behavior of a scroll container by defining “snap points” on the x and y axis. Horizontal Snap Points Let’s say we’re creating a scrollable image gallery where users can scroll or swipe through each image. First, to create a horizontal scroll container, we’ll define overflow and white-space styles for the .gallery div: In this code, .gallery is the scroll container; content scrolls horizontally inside its 1000px wide visual viewport. scroll-snap-points-x scroll-snap-type Try it on CodePen
Designing Flexible Pie Charts With CSS and SVG — Smashing Magazine Apprendre à créer une grille Bootstrap Twitter Le système de grille est le coeur de BOOTSTRAP twitter. Bootstrap Twitter considère qu'une ligne .row fait 12 colonnes. L'idée d'un responsive design c'est de dire que pour telle taille d'écran un élément occupe X colonne(s). Boostrap Devices Bootstrap twitter prend en charge 4 types de format: Il existe un préfixe pour ces formats: On va prendre l'exemple d'affichage de deux éléments. Sur un écran de poste de travail Tablette Smartphone Maintenant que nous avons établi la stratégie d'affichage des éléments, on peut passer au code: Code HTML Rendu Si vous changez la taille de votre navigateur, vous verrez que le rendu ci-dessus s'adaptera à la taille comme nous le voulions plus haut. Explication du code Nous avons construit deux blocs un orange et un vert. Pour le bloc orange: Offset Maintenant voyons comment nous avons géré l'espace entre les éléments pour la version LG ( Large device ). Pour le bloc vert: