• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/17

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

17 Cards in this Set

  • Front
  • Back

CSS3

The programming language for telling web browsers how to format HTML documents.

inline styling

adding CSS to individual elements with a style attribute.




e.g. height and width attributes on the img tag

page-level styling

adding CSS to an entire page of HTML using style tags.

external style sheet

a link tag connects the page of HTML to a separate .css document containing the CSS. One CSS style sheet can be linked to multiple pages.

user agent

a program that uses HTML content in any way. (e.g. web browser). CSS allows you to have one HTML doc. that you can style in multiple ways to fit multiple types of ________.

Parts of a CSS rule

Selectors and declarations

CSS selectors

Tells the browser which things to apply the rule to.

Parts of a CSS declaration

{Properties and values}

element-type selectors

selectors that match the element you need to apply the CSS rule to.

universal selector

* would apply the same style to every single element in a document.

ID selector

#idname would select one unique instance of an element if you labled id="name" into its HTML tag.

class selector

.groupname would select a group of instances of an element if you labeled class="name" into their HTML tags.

pseudo classes

a rule that applies to elements when they are in a certain state or condition rather than when they are labeled.




element: pseudoclass {}

cascading

describes how CSS determines which style to apply to an element when multiple rules apply to it. ?

proximity/specificity

(to content) determines which CSS rule is applied if two conflict. However, rules within a selector that didn't directly conflict with another rule in the other selector are still applied.

browser prefixes

what you need to write into a CSS rule if a property works differently from one browser to another to specify only to apply the rule in a certain browser.

media queries

@media




using this beginning, you can put in code that will only apply if a statement is true. Can use to determine which stylesheet will load.