Section 1

Preview this deck

Margin

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (28)

Section 1

(28 cards)

Margin

Front

The space around the outside of the element

Back

Attribute Selectors

Front

Match one or more elements based on their attributes/attribute values

Back

Nested Statements

Front

A specific subset of at-rule, the syntax of which is a block of CSS rules that will only be applied to the document if a specific condition is matched

Back

Pseudo-Elements

Front

Match one or more parts of content that are in a certain position in relation to an element, for example the first word of each paragraph, or generated content appearing just before an element

Back

Pseudo-Classes

Front

Match one or more elements that exist in a certain state, such as an element that is being hovered over by the mouse pointer, or a checkbox that is currently disabled or checked, or an element that is the first child of its parent in the DOM tree

Back

Properties

Front

Human-readable identifiers that indicate which stylistic features (e.g. font, width, background color) you want to change. Ways in which you can style a given HTML element

Back

At-Rules

Front

Used in CSS to convey metadata, conditional information, or other descriptive information

Back

Rule set

Front

The structure of a single piece of CSS code

Back

Document

Front

A text file structured using a markup language (HTML, SVG, XML)

Back

Selector

Front

The HTML element name at the start of the rule set

Back

Property value

Front

Appearing to the right of the property after the colon, this chooses one out of many possible appearances for a given property

Back

Pseudo-Class Selector

Front

This selector selects the specified element(s), but only when in the specified state (e.g. being hovered over) i.e. a:hover Selects <a>, but only when the mouse pointer is hovering over the link

Back

Combinators

Front

These are not exactly selectors themselves, but ways of combining two or more selectors in useful ways for very specific selections. So for example, you could select only paragraphs that are direct descendants of divs, or paragraphs that come directly after headings

Back

Simple Selectors

Front

Match one or more elements based on element type, class, or id

Back

ID Selector

Front

This selector selects the element on the page with the specified ID. On a given HTML page, you're only allowed one element per ID (and of course one ID per element) i.e. #my-id - Selects <p id="my-id"> or <a id="my-id">

Back

Border

Front

The solid line that sits just outside the padding

Back

Shorthand Properties

Front

Properties which allow setting several property values in a single line, saving time and making your code neater in the process

Back

Element Selector

Front

This selector selects all HTML elements(s) of the specified type i.e. p - Selects <p>

Back

Declaration

Front

A single rule like color: red; specifying which of the element's properties you want to style

Back

Multiple Selectors

Front

These are not separate selectors; the idea is that you can put these selectors on the same CSS rule, separated by commas, to apply a single set of declarations to all the elements selected by those selectors

Back

Presenting

Front

Converting a document into a usable form for your user

Back

CSS

Front

Cascading Style Sheets

Back

Padding

Front

The space just around the content (e.g., around paragraph text)

Back

White Space

Front

Empty parts of the page, such as spaces, tabs and new lines. Used to make your stylesheets more readable

Back

Class Selector

Front

This selector selects the element(s) on the page with the specified class (multiple class instances can appear on a page) i.e. .my-class Selects <p class="my-class"> and <a class="my-class">

Back

Value

Front

Each specified property is given a value, which indicates how you want to change the stylistic features

Back

Attribute Selector

Front

This selector selects the element(s) on the page with the specified attribute i.e. img[src] Selects <img src="myimage.png"> but not <img>

Back

TRBL (Top Right Bottom Left)

Front

The order keywords are written within a class selector. CSS will take and apply each value in clockwise manor.

Back