CSS glossary entries for ‘E’

Element selector
See ‘type selector’.
Element type selector
See ‘type selector’.
Empty selector
The Empty selector (E:empty) is a CSS ‘pseudo-class selector’ which targets any element that has no children at all. In this instance, only element nodes and text (including whitespace) are considered to be children. So if an element contains comments or processing instructions, those are not considered to be children and do not affect whether an element is defined as empty or not.
empty-cells
The empty-cells property is a CSS property which determines how browsers should style ‘borders’ and ‘backgrounds’ around ‘table cells’ that have no ‘visible’ content. It can take only the following values: ‘show’, ‘hide’ or ‘inherit’.
Enabled state selector
The enabled state selector (E:enabled) is a CSS4 ‘pseudo-class selector’ which targets elements that are in a enabled state, i.e. toggled ‘on’.
Ends with selector
The ends with selector (E[attr$="value"]) is a CSS ‘attribute selector’ which targets elements with a given attribute whose value ends with a specific string. It is particularly useful for selecting elements whose attribute values are filenames, by specifying a match on the file name extension, e.g. links to PDF documents the .pdf extension or movies with a .mp4 extension.
Equals selector
The Equals selector (E[attr="value"]) is a CSS ‘attribute selector’ which targets elements with a given attribute whose value exactly matches a specified string. It is the most commonly used attribute selector; probably, because it is simple to understand and unlikely to produce unexpected matches or mismatches.
Experimental prefix
An experimental prefix is a hyphen-delimited prefix to CSS property and value names, which indicates that the given property or value should only apply to browsers using an identified rendering engine. For example, the -moz-appearance property only applies to browsers based on the ‘gecko’ rendering engine, whereas -webkit-appearance only applies to browsers based on the ‘webkit’ rendering engine.

The Web Design Academy Contact us

By form

By Phone

+44 (0)113 234 4611

By email

enquiries@thewebdesign.academy

By snail mail

Suite 3 15 South Parade Leeds LS1 5PQ United Kingdom