• 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/19

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;

19 Cards in this Set

  • Front
  • Back
CSS selector
used to select what item is to be styled
selector{styling:value;}
CSS font
color:fontcolour;
eg.
body{
color:white;
}
CSS font families
Sans serif - without lines at the end of characters
serif - with lines
monospace - all letters are same width
CSS class
allows classes constructed in html to be styled as a group
a.class {color:blue}
.class {color:blue}
CSS links
a:link {color:blue}
a:visited {color:green}

link and visited are psuedo classes. They follow the selector or selector.class
Psuedo element
similar to psuedo classes, they follow selectors and classes. They use two colons however
p::first-line
this finds the first line in a paragraph
CSS Borders
border: 10px solid black

border: width type colour
CSS Margins
clears the area outside border of the element (makes element bigger with invisible space)

margin-left:10px;

margin-position:size px;
CSS padding
clears area inside the border of an element making it bigger. Padding has background colour of element
CSS dimensions
setting the size of an element
height:10px
max-height:100px
min-height:10px

same can be done with width
CSS Display
Changes layout of items and visibility
hide = h1 {visibility:hidden;} - still takes up space
h1 {display:none} - doesnt take up space

display:
inline - horizontal list
block - vertical list
CSS Positioning
relative - positioned relative to normal position
absolute positioning - positioned relative to the parent element that has a position
CSS Floating
Moving an element left or right. The element will go as left/right as possible.
float:left;
CSS Block elements
Elements which take up all horizontal space possible
CSS Horizontal Align
Arranges block elements to the left right or center.
Items should be aligned and then set a width. Can be done using float or (in the case of aligning right):
position:absolute;
right:0px;
width:100px;
CSS Combinators - Descendant
to select elements within elements the following is done inside the selector
div p {...}
this selects all p elements inside div
CSS Combinators - Child Selector
div > p {...}
selects all p which are immediate children of div
CSS Combinators - Adjacent Sibling Selector
div + p {...}
selects all elements that adjacent siblings of the specified element
CSS Combinators - Sibling Selector
div ~ p
selects all siblings of an element