BasicNamestolearn Flashcards
"Basic" Words that would be good for you to know
The algorithm used by browsers to determine the CSS declaration that is the most relevant to an element, which in turn, determines the property value to apply to the element.
Specifisity
The language that provides the formatting and “look” of a Web page or document written in a markup language. (Mainly known by its acronym)
Cascading Style Sheets
an algorithm that defines how user agents combine property values originating from different sources
Cascade
Specifies that a property should inherit its value from its parent element.
Inheritance
a selector that specifies a special state of an element, such as when a user hovers over it, tabs to it, or selects a link.
Pseudo-classes
This is used to style specified parts of an element. For example, it can be used to: Style the first letter, or line, of an element. Insert content before, or after, the content of an element.
Pseudo-elements
contains one or more selectors and one or more declarations. (The set in CSS that tells elements where they need to go, what size they need to be, etc)
Rule Sets
A CSS rule has three parts
the selector, property, and value
a computer program that represents a person, such as a browser, and is responsible for retrieving and presenting web content for end users. These include web browsers, media players, and plug-ins that help in retrieving, rendering, and interacting with web content
User Agents
This is the buffer that is added around the outside of an element
Margin
This is spacing within an element itself
padding
everything from the start tag to the end tag
element
elements can contain other elements (examples: <body>; <html>
Nested Element
a box that wraps around every HTML element. It consists of: [content, [padding, [borders, [margins [content] ] ] ] ]
Box Model
sets how an item will grow or shrink to fit the space available. [It will adjust margins and positioning of elements relative to each other]
flexbox