WD - CSS

Subdecks (2)

Cards (76)

  • What form of display is best for a navigation menus?
    inline
  • What does inline-block do?
    Make block elements sit inline
  • why would you use block elements instead of inline elements?
    You can control their dimensions and spacing
  • What is a line called in a CSS ruleset?
    A rule
  • How is a property ended in a CSS ruleset?
    With a semicolon
  • How do you start and end a CSS ruleset after specifying a selector?
    curly bracket
  • What is the specified elements called in css rulesets?
    selectors
  • What is a rule composed of?
    Property value pair
  • what is a property?
    a part of an elements presentation
  • How do you start a comment in css?

    /*
  • how do you end a comment in css?
    */
  • To select an instance of a tag using id what is done?
    # is used before id of instance
  • Does screen reader software access CSS?
    No
  • Is CSS only for visual purposes?
    Yes
  • What does CSS stand for?
    Cascading style sheets
  • If you are ever unsure about how to overlap an element or otherwise lay out a page use position:absolute and then use calc with variables like vw, it's also good practice to leave a comment.
  • If ever elements on a webpage are placing themselves in expected ways on the horizantal axis use clear: both; as it places it on a new line as though preceded by a block