Results 21 - 32 of 32

ID selectors

In an HTML document, CSS ID selectors match an element based on the contents of that element's id attribute, which must match exactly the value given in the selector.
Beginner CSS CSS Reference Selectors

Vibration API

Most modern mobile devices include vibration hardware, which lets software code provide physical feedback to the user by causing the device to shake. The Vibration API offers Web apps the ability to access this hardware, if it exists, and does nothing if the device doesn't support it.
Beginner Firefox OS Mobile Vibration

Inline elements

HTML (Hypertext Markup Language) elements are usually "inline" elements or "block-level" elements. An inline element occupies only the space bounded by the tags that define the inline element. The following example demonstrates the inline element's influence:
Beginner HTML HTML:Element Reference

Introduction to the CSS box model

In a document, each element is represented as a rectangular box. Determining the size, properties — like its color, background, borders aspect — and the position of these boxes is the goal of the rendering engine.
Beginner CSS CSS Box Model Reference

General sibling selectors

The ~ combinator separates two selectors and matches the second element only if it is preceded by the first, and both share a common parent.
Beginner CSS CSS Reference NeedsMobileBrowserCompatibility Selectors


Just like pseudo-classes, pseudo-elements are added to selectors but instead of describing a special state, they allow you to style certain parts of a document. For example, the ::first-line pseudo-element targets only  the first line of an element specified by the selector.
Beginner CSS CSS Reference CSS Référence Selectors

Type selectors

CSS type selectors match elements by node name. Used alone, therefore, a type selector for a particular node name selects all elements of that type — that is, with that node name — in the document.
Beginner CSS CSS Reference NeedsMobileBrowserCompatibility Selectors

Universal selectors

An asterisk (*) is the universal selector for CSS. It matches a single element of any type. Omitting the asterisk with simple selectors has the same effect. For instance, *.warning and .warning are considered equal.
Beginner CSS CSS Reference NeedsBrowserCompatibility NeedsMobileBrowserCompatibility Selectors

WebRTC protocols

This article introduces the protocols on top of which the WebRTC API is built.
API Audio Beginner Guide Media Video WebRTC

Block formatting context

A block formatting context is a part of a visual CSS rendering of a Web page. It is the region in which the layout of block boxes occurs and in which floats interact with each other.
Beginner CSS CSS Basic Concepts Guide NeedsBeginnerUpdate NeedsExample Web

Introduction to the File and Directory Entries API

The File and Directory Entries API simulates a local file system that web apps can navigate around. You can develop apps that can read, write, and create files and directories in a sandboxed, virtual file system. 
API beginner Beginner File File and Directory Entries API File System API Guide Introduction Non-standard Non-Standard

Using the Web Animations API

The Web Animations API lets us construct animations and control their playback with JavaScript. This article will start you off in the right direction with fun demos and tutorials featuring Alice in Wonderland.
Alice Animate animate Animations animations Beginner beginner CSS duration Guide JavaScript keyframes pause play reverse Timing Tutorial web animations api