Results 21 - 40 of 93

<img>

The HTML <img> element represents an image in the document.
Content Element embedded Graphics HTML Reference

user-zoom

The user-zoom CSS descriptor controls whether or not the user should be able to change the zoom factor of a document defined by @viewport.
CSS CSS Descriptor Graphics Layout NeedsBrowserCompatibility NeedsExample Reference Web

zoom

The zoom CSS Descriptor sets the initial zoom factor of a document defined by @viewport.
CSS CSS Descriptor Graphics Layout NeedsBrowserCompatibility NeedsExample Reference Web

background-color

The background-color CSS property sets the background color of an element, either through a color value or the keyword transparent.
CSS CSS Background CSS Property Graphics Layout Reference

Scaling background images

The background-size CSS property makes it possible to adjust the size of background images, instead of the default behavior of tiling the image at its full size. You can scale the image upward or downward as desired.
Advanced CSS CSS Background Example Graphics Guide Web

Implementing image sprites in CSS

Image sprites are used in numerous web apps where multiple images are used. Rather than include each image as a separate image file, it is much more memory and bandwidth-friendly to send them as a single image, so the number of HTTP requests is reduced.
Advanced CSS CSS Image Graphics Guide NeedsContent Sprites Web

<gradient>

The <gradient> CSS data type denotes a CSS <image> made of a progressive transition between two or more colors. A CSS gradient is not a CSS <color> but an image with no intrinsic dimensions; that is, it has no natural or preferred size, nor a preferred ratio. Its concrete size will match the one of the element it applies to.
CSS CSS Data Type Graphics Layout Reference Web

<image>

The <image> CSS data type represents a 2D image. There are two kinds of images in CSS: plain static images, often referenced using a URL, and dynamically-generated images like gradients or representations of parts of the tree.
CSS CSS Data Type CSS Image Graphics Layout Reference Web

initial-letter

The initial-letter CSS property specifies styling for dropped, raised, and sunken initial letters.
CSS CSS Property Experimental Graphics Layout Reference Web

linear-gradient()

The CSS linear-gradient() function creates an <image> which represents a linear gradient of colors. The result of this function is an object of the CSS <gradient> data type. Like any other gradient, a CSS linear gradient is not a CSS <color> but an image with no intrinsic dimensions; that is, it has neither natural or preferred size, nor ratio. Its concrete size will match the size of the element it applies to.
CSS CSS Function CSS Image Graphics Layout NeedsNewCompatTable Reference Web

radial-gradient()

The CSS radial-gradient() function creates an <image> which represents a gradient of colors radiating from an origin, the center of the gradient. The result of this function is an object of the CSS <gradient> data type.
CSS CSS Function CSS Image Graphics Layout Reference Web

repeating-radial-gradient()

This works similarly to the standard radial gradients as described by radial-gradient(), but it automatically repeats the color stops infinitely in both directions, with their positions shifted by multiples of the difference between the last color stop's position and the first one's position.
CSS CSS Function CSS Image Graphics Layout NeedsBrowserCompatibility Reference Web

CameraManager.getCamera()

This method is used to access to one of the cameras available on the device based on its identifier. You can get a list of the available cameras by calling the CameraManager.getListOfCameras() method.
API Firefox OS Graphics JavaScript Method Reference Référence WebAPI

Drawing shapes with canvas

Before we can start drawing, we need to talk about the canvas grid or coordinate space. Our HTML skeleton from the previous page had a canvas element 150 pixels wide and 150 pixels high. To the right, you see this canvas with the default grid overlayed. Normally 1 unit in the grid corresponds to 1 pixel on the canvas. The origin of this grid is positioned in the top left corner at coordinate (0,0). All elements are placed relative to this origin. So the position of the top left corner of the blue square becomes x pixels from the left and y pixels from the top, at coordinate (x,y). Later in this tutorial we'll see how we can translate the origin to a different position, rotate the grid and even scale it, but for now we'll stick to the default.
Canvas Graphics HTML HTML Canvas HTML5 Intermediate Tutorial

Navigator.mozCamera

This API has not been implemented as of Firefox OS 2.2. You probably actually want navigator.mozCameras.
API DOM Firefox OS Gecko DOM Reference Graphics Property WebAPI

Path2D()

The Path2D() constructor returns a newly instantiated Path2D object, optionally with another path as an argument (creates a copy), or optionally with a string consisting of SVG path data.
API Canvas Constructor Drawing Graphics Path2D Paths Reference Référence

backdrop-filter

The backdrop-filter property provides for effects like blurring or color shifting the area behind an element, which can then be seen through that element by adjusting the element's transparency/opacity.
CSS CSS Property Graphics Layout NeedsContent NeedsLiveSample NeedsMobileBrowserCompatibility Reference SVG SVG Filter Web

box-suppress

The box-suppress CSS property controls the box generation of an element.
CSS CSS Display CSS Property Experimental Graphics Layout NeedsExample Reference Web