La compression vidéo pour le web Pour une diffusion à partir des plateformes de partage de vidéos en ligne, vous devez convertir vos montages vidéo dans un format adapté à une diffusion sur Internet. Afin de rendre la plus efficace cette conversion, voici quelques conseils pour réussir une compression vidéo pour le web. Quelque soit votre support d’enregistrement, les fichiers obtenus après votre prise de vue seront lourds et disposeront d’un format d’enregistrement du type .mts, .mov ou mp4 qui ne sera pas forcément détectable par les services de partage en ligne de vidéo. Codec : H.264:Codec développé dans le cadre du MPEG, Le H.264 est également appelé également AVC (Advanced Video Coding). En haute définition, 2 formats coexistent 1280 pixels de largeur x 720 pixels de hauteur ou 1920×1080 pixels.Le format SD ou standard correspond à 640 pixels de large. On peut résumer un « bit » à un morceau de l’information traitée par un ordinateur. Vimeo Dailymotion Youtube Easyhtml5video
CSS3 PIE: CSS3 decorations for IE Aide:Liste de caractères spéciaux L'ensemble de caractères pour HTML 4.01 est l'ISO 10646 Universal Character Set, qui est lié au jeu de caractères défini par Unicode. Les entités numériques décimales et hexadécimales des caractères sont le seul moyen universel de les entrer dans une page Wikipédia pour le moment. Noter qu'il est préférable de les écrire en décimal plutôt qu'en hexadécimal, vu que la prise en charge de l'hexadécimal par les navigateurs est plus récente. Elles seront néanmoins données ici en hexadécimal. Beaucoup de navigateurs sont seulement capables d'afficher un petit sous-ensemble du répertoire UCS complet. Les zones à usage privé ne contiennent pas les mêmes glyphes d'une police à l'autre et sont donc fortement déconseillés sur Wikipédia. Espaces fine et insécable[modifier | modifier le code] Alphabets[modifier | modifier le code] Caractères grecs[modifier | modifier le code] Caractères cyrilliques[modifier | modifier le code] Caractères hébraïques[modifier | modifier le code]
Keyframe Animation Syntax Basic Declaration & Usage For the sake of brevity the rest of the code on this page will not use any prefixes, but real world usage should use all the vendor prefixes from above Multiple steps If an animation has the same starting and ending properties, one way to do that is to comma-separate the 0% and 100% values: Or, you could always tell the animation to run twice (or any even number of times) and tell the direction to alternate. Calling keyframe animation with separate properties Animation Shorthand Just space-separate all the individual values. animation: test 1s 2s 3 alternate backwards Combine transform and animation Multiple animations You can comma-separate the values to declare multiple animations on a selector. Steps() The steps() function controls exactly how many keyframes will render in the animation timeframe. If you use steps(10) in your animation, it will make sure only 10 keyframes happen in the allotted time. The math works out nicely there. Browser Support More Resources
Timing des animations et des transitions en CSS3 L'arrivée de CSS3 il y a quelques années a pour plusieurs d'entre nous grandement révolutionné la manière dont nous intégrions un site Web. D'abord, ce furent les propriétés purement graphiques (coins arrondis, ombres portées) qui frayèrent leur chemin jusqu'en mode production. Ces propriétés étaient les mieux supportées des différents navigateurs, et elles étaient facilement imitables sur les plus anciens grâce aux outils à notre disposition (Par exemple: Css3Pie, Selectivizr, Modernizr, etc). Même la tâche redondante consistant à préfixer nos propriétés CSS3 est aujourd'hui facilitée avec Prefixr et PrefixFree. Aujourd'hui, l'étendue des possibilités auxquelles a accès un intégrateur est assez impressionnante. Et enfin, les propriétés de transition et d'animation sont plutôt bien supportées par l'ensemble des navigateurs modernes, y compris à partir d'Internet Explorer 10. Le sujet des transitions et des animations a déjà été traité par maints auteurs. Quelques Références Transitions:
22 Experimental WebGL Demo Examples WebGL is a web standard created to display 3D graphics in any platform that supports OpenGL. It makes use of the HTML5 Canvas element to generate graphics dynamically from script code, so there's no need to install plug-ins in the web browser. It includes some libraries that are currently in development, such as C3DL and WebGLU. This javascript API is managed by the consortium of nonprofit technology Khronos Group since early 2009 which together with the Mozilla Foundation created a workgroup in which they could experimentally develop prototypes and deployed applications using this technology. Currently the workgroup is also composed by Apple, Google and Opera, among others, and all these companies have implemented it in their latest versions of browsers like Apple Safari, Google Chrome, Mozilla Firefox and Opera.
CSS Overlay Techniques There are several techniques for creating overlays: from using an absolutely positioned element to outlines and pseudo-elements. In this article we are going to explore each technique's styles with their pros and cons. Design patterns, a set of best practices and techniques that aim to solve some of the most common design “problems”, are usually presented in the context of design principles. One of these design principles is the “Stay On Page” principle. This principle is based on the fact that page refreshes are disruptive to the user’s mental flow, causing what is known as “change blindness”, and that we need to be able to avoid breaking the visual flow of the user wherever and whenever we can. We can decide intelligently when to keep the user on the page and model his process. Lightweight overlays can be used for asking questions, obtaining input, introducing features, indicating progress, giving instructions, or revealing information. Technique #1: Absolutely positioned element
How To Build A CSS3 Sliding Menu It’s often best to put things away until you need them. Navigation menus are a good example. If I’m reading an article, I don’t want a large proportion of screen real estate taken with links — especially on a mobile device. In this article, we’re going to build a slide-out menu using CSS alone. View the CSS3 sliding menu demonstration… There are various solutions throughout the web, but I struggled to find one matching my requirements: It must use clean semantic HTML5 with no superfluous tags.It must not rely on JavaScript.It must not require additional graphics.It must work on mobile and tablet touch devices.It must degrade gracefully in older browsers (IE7+) or when specific CSS3 properties are not supported.It must look great! Open your favorite editor and let’s get coding… The HTML No surprises here — we have an HTML5 document, the IE shim, a link to our stylesheet, a nav element for the menu, and an article for our body text: CSS: Article Styles CSS: Navigation Styles CSS: The Animation
CSS Positioning Review the W3C CSS standard recommendation. To use CSS for layout effectively, it helps to know how it's used to position page content. This article gives an overview of the methods and rules that govern visual rendering in the CSS2 specification. It also points out some things to watch out for. Although the specification applies to any device for displaying web pages, this article focuses on how it works in browsers. It's important to remember that a given browser may not support a given feature or may even implement it incorrectly. The Box Model To understand positioning in CSS you must first understand the box model. content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content margin border padding content Margins are always transparent. Box Types Containing Blocks
CSS Quick Tutorials tools & resources for web professionals These materials are copyright Western Civilisation Pty Ltd. www.westciv.com They are brought to you courtesy of Style Master CSS Editor and Westciv's standards based web development courses. Please see our website for detailed copyright information or contact us info@westciv.com. quick tutorials If you already know what a style sheet is and how to link it to your page, and how to specify selectors, properties and units with CSS, then in some ways the rest is detail. Can't find what you want to do here? resources
How To Vertically Center Unknown Rows Of Content Inside A Fixed Container One task css doesn’t make easy is centering objects vertically within their containers. Last summer I offered 6 methods for vertical centering to address that difficulty. The methods generally require knowing in advance the heights of the parent and child elements. What do you do when the child element’s height isn’t known? A variation of this question was brought to my attention by Manuel who posed it in a comment on the vertical centering post mentioned above. I´d like to ask you about vertical centering a child element with a variable height. My initial thought was Javascript would be needed to determine the total height of the child elements, but I thought why not take a look at each method and see what I could come up with. Vertical Centering with CSS Here’s a quick reminder of the methods for centering. I didn’t look at the line-height method, since it’s for centering a single line of text and Manuel’s question referred to images. CSS Table Methods The Simpler Solution And the css.
6 Methods For Vertical Centering With CSS Centering elements vertically with css is something that often gives designers trouble. There are however a variety of methods for vertical centering and each is fairly easy to use. Today I want to present 6 of those methods. I’ve usually skipped over the topic of vertical centering, since there are some good posts already out there that are easy enough to find, but recently Bikram commented requesting a tutorial on vertically centering so I thought why not. You can view demos of each of the methods below by clicking here. Clicking the images above each section will also take you to that specific demo. Let’s start by first talking about something that doesn’t work as many expect. Vertical-Align Horizontal centering with css is rather easy. With text-align: center in mind, most people look first to vertical-align in order to center things vertically. However valign only worked on table cells. The values for vertical-align have meaning with respect to a parent inline element. html css Summary
CSS Lists & Counters Module Level 3 Abstract This draft contains the features of CSS level 3 relating to list styling. It includes and extends the functionality of CSS level 2 [CSS21]. The main extensions compared to level 2 are a pseudo-element representing the list marker, and a method for authors to define their own list-styles. CSS is a language for describing the rendering of structured documents (such as HTML and XML) on screen, on paper, in speech, etc. Status of this document This is a public copy of the editors’ draft. The (archived) public mailing list www-style@w3.org (see instructions) is preferred for discussion of this specification. This document was produced by the CSS Working Group (part of the Style Activity). This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. Table of Contents 1 Introduction This is an early-stage working draft. It also defines counters, which are special numerical objects often used to generate the default contents of markers. 2 Declaring a List Item