Categories

inheritance

Margarett Ortiz mayo 23, 2016
No votes yet.
Please wait...

Inheritance in CSS is the mechanism through which certain properties are passed on from a parent element down to its children.

Inheritance lets us declare properties on high-level elements and allows those properties to trickle down to all descendant elements.

Inheritance is employed to help reuse existing code with little or no modification.

For example, if you set the body tag of a page to a specific font, that font will be inherited by other elements, such as headings and paragraphs, without you having to specifically write as much.

Every element in an HTML document will inherit all inheritable properties from its parent except the root element (html), which doesn’t have a parent.

Agregar enlace permanente a marcadores.

Submit a ticket

Si Usted todavía no puede encontrar un tutorial suficiente para arreglar su problema, por favor use el siguiente enlace para enviar un ticket a nuestro equipo de soporte técnico. Nosotros enviaremos nuestra respuesta dentro de próximas 24 horas: Enviar un ticket

Comentarios están cerrados