Search
Browse
Create
Log in
Sign up
Log in
Sign up
Upgrade to remove ads
Only $2.99/month
CSS
STUDY
Flashcards
Learn
Write
Spell
Test
PLAY
Match
Gravity
Terms in this set (274)
@keyframes
Specifies the animation
animation
A shorthand property for all the animation properties below, except the animation-play-state property
animation-name
Specifies a name for the @keyframes animation
animation-duration
Specifies how many seconds or milliseconds an animation takes to complete one cycle
animation-timing-function
Specifies the speed curve of the animation
animation-delay
Specifies when the animation will start
animation-iteration-count
Specifies the number of times an animation should be played
animation-direction
Specifies whether or not the animation should play in reverse on alternate cycles
animation-play-state
Specifies whether the animation is running or paused
background
Sets all the background properties in one declaration
background-attachment
Sets whether a background image is fixed or scrolls with the rest of the page
background-color
Sets the background color of an element
background-image
Sets the background image for an element
background-position
Sets the starting position of a background image
background-repeat
Sets how a background image will be repeated
background-clip
Specifies the painting area of the background
background-origin
Specifies the positioning area of the background images
background-size
Specifies the size of the background images
border
Sets all the border properties in one declaration
border-bottom
Sets all the bottom border properties in one declaration
border-bottom-color
Sets the color of the bottom border
border-bottom-style
Sets the style of the bottom border
border-bottom-width
Sets the width of the bottom border
border-color
Sets the color of the four borders
border-left
Sets all the left border properties in one declaration
border-left-color
Sets the color of the left border
border-left-style
Sets the style of the left border
border-left-width
Sets the width of the left border
border-right
Sets all the right border properties in one declaration
border-right-color
Sets the color of the right border
border-right-style
Sets the style of the right border
border-right-width
Sets the width of the right border
border-style
Sets the style of the four borders
border-top
Sets all the top border properties in one declaration
border-top-color
Sets the color of the top border
border-top-style
Sets the style of the top border
border-top-width
Sets the width of the top border
border-width
Sets the width of the four borders
outline
Sets all the outline properties in one declaration
outline-color
Sets the color of an outline
outline-style
Sets the style of an outline
outline-width
Sets the width of an outline
border-bottom-left-radius
Defines the shape of the border of the bottom-left corner
border-bottom-right-radius
Defines the shape of the border of the bottom-right corner
border-image
A shorthand property for setting all the border-image-* properties
border-image-outset
Specifies the amount by which the border image area extends beyond the border box
border-image-repeat
Specifies whether the image-border should be repeated, rounded or stretched
border-image-slice
Specifies the inward offsets of the image-border
border-image-source
Specifies an image to be used as a border
border-image-width
Specifies the widths of the image-border
border-radius
A shorthand property for setting all the four border-*-radius properties
border-top-left-radius
Defines the shape of the border of the top-left corner
border-top-right-radius
Defines the shape of the border of the top-right corner
box-shadow
Attaches one or more drop-shadows to the box
overflow-x
Specifies whether or not to clip the left/right edges of the content, if it overflows the element's content area
overflow-y
Specifies whether or not to clip the top/bottom edges of the content, if it overflows the element's content area
overflow-style
Specifies the preferred scrolling method for elements that overflow
rotation
Rotates an element around a given point defined by the rotation-point property
rotation-point
Defines a point as an offset from the top left border edge
color-profile
Permits the specification of a source color profile other than the default
opacity
Sets the opacity level for an element
rendering-intent
Permits the specification of a color profile rendering intent other than the default
bookmark-label
Specifies the label of the bookmark
bookmark-level
Specifies the level of the bookmark
bookmark-target
Specifies the target of the bookmark link
float-offset
Pushes floated elements in the opposite direction of the where they have been floated with float
hyphenate-after
Specifies the minimum number of characters in a hyphenated word after the hyphenation character
hyphenate-before
Specifies the minimum number of characters in a hyphenated word before the hyphenation character
hyphenate-character
Specifies a string that is shown when a hyphenate-break occurs
hyphenate-lines
Indicates the maximum number of successive hyphenated lines in an element
hyphenate-resource
Specifies a comma-separated list of external resources that can help the browser determine hyphenation points
hyphens
Sets how to split words to improve the layout of paragraphs
image-resolution
Specifies the correct resolution of images
marks
Adds crop and/or cross marks to the document
height
Sets the height of an element
max-height
Sets the maximum height of an element
max-width
Sets the maximum width of an element
min-height
Sets the minimum height of an element
min-width
Sets the minimum width of an element
width
Sets the width of an element
box-align
Specifies how to align the child elements of a box
box-direction
Specifies in which direction the children of a box are displayed
box-flex
Specifies whether the children of a box is flexible or inflexible in size
box-flex-group
Assigns flexible elements to flex groups
box-lines
Specifies whether columns will go onto a new line whenever it runs out of space in the parent box
box-ordinal-group
Specifies the display order of the child elements of a box
box-orient
Specifies whether the children of a box should be laid out horizontally or vertically
box-pack
Specifies the horizontal position in horizontal boxes and the vertical position in vertical boxes
font
Sets all the font properties in one declaration
font-family
Specifies the font family for text
font-size
Specifies the font size of text
font-style
Specifies the font style for text
font-variant
Specifies whether or not a text should be displayed in a small-caps font
font-weight
Specifies the weight of a font
@font-face
A rule that allows websites to download and use fonts other than the "web-safe" fonts
font-size-adjust
Preserves the readability of text when font fallback occurs
font-stretch
Selects a normal, condensed, or expanded face from a font family
content
Used with the :before and :after pseudo-elements, to insert generated content
counter-increment
Increments one or more counters
counter-reset
Creates or resets one or more counters
quotes
Sets the type of quotation marks for embedded quotations
crop
Allows a replaced element to be just a rectangular area of an object, instead of the whole object
move-to
Causes an element to be removed from the flow and reinserted at a later point in the document
page-policy
Determines which page-based occurance of a given element is applied to a counter or string value
grid-columns
Specifies the width of each column in a grid
grid-rows
Specifies the height of each column in a grid
target
A shorthand property for setting the target-name, target-new, and target-position properties
target-name
Specifies where to open links (target destination)
target-new
Specifies whether new destination links should open in a new window or in a new tab of an existing window
target-position
Specifies where new destination links should be placed
alignment-adjust
Allows more precise alignment of elements
alignment-baseline
Specifies how an inline-level element is aligned with respect to its parent
baseline-shift
Allows repositioning of the dominant-baseline relative to the dominant-baseline
dominant-baseline
Specifies a scaled-baseline-table
drop-initial-after-adjust
Sets the alignment point of the drop initial for the primary connection point
drop-initial-after-align
Sets which alignment line within the initial line box is used at the primary connection point with the initial letter box
drop-initial-before-adjust
Sets the alignment point of the drop initial for the secondary connection point
drop-initial-before-align
Sets which alignment line within the initial line box is used at the secondary connection point with the initial letter box
drop-initial-size
Controls the partial sinking of the initial letter
drop-initial-value
Activates a drop-initial effect
inline-box-align
Sets which line of a multi-line inline block align with the previous and next inline elements within a line
line-stacking
A shorthand property for setting the line-stacking-strategy, line-stacking-ruby, and line-stacking-shift properties
line-stacking-ruby
Sets the line stacking method for block elements containing ruby annotation elements
line-stacking-shift
Sets the line stacking method for block elements containing elements with base-shift
line-stacking-strategy
Sets the line stacking strategy for stacked line boxes within a containing block element
text-height
Sets the block-progression dimension of the text content area of an inline box
list-style
Sets all the properties for a list in one declaration
list-style-image
Specifies an image as the list-item marker
list-style-position
Specifies if the list-item markers should appear inside or outside the content flow
list-style-type
Specifies the type of list-item marker
margin
Sets all the margin properties in one declaration
margin-bottom
Sets the bottom margin of an element
margin-left
Sets the left margin of an element
margin-right
Sets the right margin of an element
margin-top
Sets the top margin of an element
marquee-direction
Sets the direction of the moving content
marquee-play-count
Sets how many times the content move
marquee-speed
Sets how fast the content scrolls
marquee-style
Sets the style of the moving content
column-count
Specifies the number of columns an element should be divided into
column-fill
Specifies how to fill columns
column-gap
Specifies the gap between the columns
column-rule
A shorthand property for setting all the column-rule-* properties
column-rule-color
Specifies the color of the rule between columns
column-rule-style
Specifies the style of the rule between columns
column-rule-width
Specifies the width of the rule between columns
column-span
Specifies how many columns an element should span across
column-width
Specifies the width of the columns
columns
A shorthand property for setting column-width and column-count
padding
Sets all the padding properties in one declaration
padding-bottom
Sets the bottom padding of an element
padding-left
Sets the left padding of an element
padding-right
Sets the right padding of an element
padding-top
Sets the top padding of an element
fit
Gives a hint for how to scale a replaced element if neither its width nor its height property is auto
fit-position
Determines the alignment of the object inside the box
image-orientation
Specifies a rotation in the right or clockwise direction that a user agent applies to an image
page
Specifies a particular type of page where an element SHOULD be displayed
size
Specifies the size and orientation of the containing box for page content
bottom
Specifies the bottom position of a positioned element
clear
Specifies which sides of an element where other floating elements are not allowed
clip
Clips an absolutely positioned element
cursor
Specifies the type of cursor to be displayed
display
Specifies how a certain HTML element should be displayed
float
Specifies whether or not a box should float
left
Specifies the left position of a positioned element
overflow
Specifies what happens if content overflows an element's box
position
Specifies the type of positioning method used for an element (static, relative, absolute or fixed)
right
Specifies the right position of a positioned element
top
Specifies the top position of a positioned element
visibility
Specifies whether or not an element is visible
z-index
Sets the stack order of a positioned element
orphans
Sets the minimum number of lines that must be left at the bottom of a page when a page break occurs inside an element
page-break-after
Sets the page-breaking behavior after an element
page-break-before
Sets the page-breaking behavior before an element
page-break-inside
Sets the page-breaking behavior inside an element
widows
Sets the minimum number of lines that must be left at the top of a page when a page break occurs inside an element
border-collapse
Specifies whether or not table borders should be collapsed
border-spacing
Specifies the distance between the borders of adjacent cells
caption-side
Specifies the placement of a table caption
empty-cells
Specifies whether or not to display borders and background on empty cells in a table
table-layout
Sets the layout algorithm to be used for a table
color
Sets the color of text
direction
Specifies the text direction/writing direction
letter-spacing
Increases or decreases the space between characters in a text
line-height
Sets the line height
text-align
Specifies the horizontal alignment of text
text-decoration
Specifies the decoration added to text
text-indent
Specifies the indentation of the first line in a text-block
text-transform
Controls the capitalization of text
vertical-align
Sets the vertical alignment of an element
white-space
Specifies how white-space inside an element is handled
word-spacing
Increases or decreases the space between words in a text
hanging-punctuation
Specifies whether a punctuation character may be placed outside the line box
punctuation-trim
Specifies whether a punctuation character should be trimmed
text-align-last
Describes how the last line of a block or a line right before a forced line break is aligned when text-align is "justify"
text-justify
Specifies the justification method used when text-align is "justify"
text-outline
Specifies a text outline
text-overflow
Specifies what should happen when text overflows the containing element
text-shadow
Adds shadow to text
text-wrap
Specifies line breaking rules for text
word-break
Specifies line breaking rules for non-CJK scripts
word-wrap
Allows long, unbreakable words to be broken and wrap to the next line
transform
Applies a 2D or 3D transformation to an element
transform-origin
Allows you to change the position on transformed elements
transform-style
Specifies how nested elements are rendered in 3D space
perspective
Specifies the perspective on how 3D elements are viewed
perspective-origin
Specifies the bottom position of 3D elements
backface-visibility
Defines whether or not an element should be visible when not facing the screen
transition
A shorthand property for setting the four transition properties
transition-property
Specifies the name of the CSS property the transition effect is for
transition-duration
Specifies how many seconds or milliseconds a transition effect takes to complete
transition-timing-function
Specifies the speed curve of the transition effect
transition-delay
Specifies when the transition effect will start
appearance
Allows you to make an element look like a standard user interface element
box-sizing
Allows you to define certain elements to fit an area in a certain way
icon
Provides the author the ability to style an element with an iconic equivalent
nav-down
Specifies where to navigate when using the arrow-down navigation key
nav-index
Specifies the tabbing order for an element
nav-left
Specifies where to navigate when using the arrow-left navigation key
nav-right
Specifies where to navigate when using the arrow-right navigation key
nav-up
Specifies where to navigate when using the arrow-up navigation key
outline-offset
Offsets an outline, and draws it beyond the border edge
resize
Specifies whether or not an element is resizable by the user
.class
.intro | Selects all elements with class="intro"
#id
#firstname | Selects the element with id="firstname"
*
* | Selects all elements
element
p | Selects all <p> elements
element,element
div,p | Selects all <div> elements and all <p> elements
element element
div p | Selects all <p> elements inside <div> elements
element>element
div>p | Selects all <p> elements where the parent is a <div> element
element+element
div+p | Selects all <p> elements that are placed immediately after <div> elements
[attribute]
[target] | Selects all elements with a target attribute
[attribute=value]
[target=_blank] | Selects all elements with target="_blank"
[attribute~=value]
[title~=flower] | Selects all elements with a title attribute containing the word "flower"
[attribute|=value]
[lang|=en] | Selects all elements with a lang attribute value starting with "en"
:link
a:link | Selects all unvisited links
:visited
a:visited | Selects all visited links
:active
a:active | Selects the active link
:hover
a:hover | Selects links on mouse over
:focus
input:focus | Selects the input element which has focus
:first-letter
p:first-letter | Selects the first letter of every <p> element
:first-line
p:first-line | Selects the first line of every <p> element
:first-child
p:first-child | Selects every <p> element that is the first child of its parent
:before
p:before | Insert content before the content of every <p> element
:after
p:after | Insert content after every <p> element
:lang(language)
p:lang(it) | Selects every <p> element with a lang attribute value starting with "it"
element1~element2
p~ul | Selects every <ul> element that are preceded by a <p> element
[attribute^=value]
a[src^="https"] | Selects every <a> element whose src attribute value begins with "https"
[attribute$=value]
a[src$=".pdf"] | Selects every <a> element whose src attribute value ends with ".pdf"
[attribute*=value]
a[src*="w3schools"] | Selects every <a> element whose src attribute value contains the substring "w3schools"
:first-of-type
p:first-of-type | Selects every <p> element that is the first <p> element of its parent
:last-of-type
p:last-of-type | Selects every <p> element that is the last <p> element of its parent
:only-of-type
p:only-of-type | Selects every <p> element that is the only <p> element of its parent
:only-child
p:only-child | Selects every <p> element that is the only child of its parent
:nth-child(n)
p:nth-child(2) | Selects every <p> element that is the second child of its parent
:nth-last-child(n)
p:nth-last-child(2) | Selects every <p> element that is the second child of its parent, counting from the last child
:nth-of-type(n)
p:nth-of-type(2) | Selects every <p> element that is the second <p> element of its parent
:nth-last-of-type(n)
p:nth-last-of-type(2) | Selects every <p> element that is the second <p> element of its parent, counting from the last child
:last-child
p:last-child | Selects every <p> element that is the last child of its parent
:root
:root | Selects the document's root element
:empty
p:empty | Selects every <p> element that has no children (including text nodes)
:target
#news:target | Selects the current active #news element (clicked on a URL containing that anchor name)
:enabled
input:enabled | Selects every enabled <input> element
:disabled
input:disabled | Selects every disabled <input> element
:checked
input:checked | Selects every checked <input> element
:not(selector)
:not(p) | Selects every element that is not a <p> element
::selection
::selection | Selects the portion of an element that is selected by a user
:valid
Represents any <input> element whose content validates correctly according to the input's type setting
:read-write
Matches when an element is editable by user like text input element
:required
Represents any <input> element that has the required attribute set on it. This allows forms to easily indicate which fields must have valid data before the form can be submitted.
:invalid
Represents any <input> or <form> element whose content fails to validate according to the input's type setting. This allows you to easily have invalid fields adopt an appearance that helps the user identify and correct errors.
:optional
Represents any <input> element that does not have the required attribute set on it. This allows forms to easily indicate optional fields, and to style them accordingly
:checked
element:checked { style properties }
THIS SET IS OFTEN IN FOLDERS WITH...
HTML
186 terms
Javascript
251 terms
CSS
56 terms
CSS SELECTORS
52 terms
YOU MIGHT ALSO LIKE...
CSS Properties
27 terms
CSS Study Guide
55 terms
chapter 1 algorithms and data
4 terms
CSS Coding Overview
96 terms
OTHER SETS BY THIS CREATOR
JavaScript
223 terms
HTML Definitions
119 terms
PHP
447 terms
jQuery
155 terms