HTML & CSS Flashcards
What uses 6 hexadecimal digits to represent colors, two each for red (R), green (G), and blue (B) components.
Hex Codes
What digit is the lowest number in hex code, and represents a complete absence of color.
Zero
What is the highest number in hex code, and represents the maximum possible brightness?
F Digit
What can #FF0000 be abbreviate to?
F00 is the same color interpretation as #FF0000
With RGB you specify the _____ of each color with a number between 0 and 255.
brightness
With _____ _____ there is no need to design a mobile version of a website. It will look good on devices with screens of any width.
responsive design
You can add Bootstrap to any app by adding what code to the top of your HTML?
Normally, your button elements with a class of btn are only as wide as what?
the text that they contain
How would I stretch a button to fill a page’s entire horizontal space and causing any elements following it to flow onto a “new line” below the block?
With bootstrap’s class=”btn-block” added to my button in HTML.
Example:
Submit
What Bootstrap class is the main color used in an app?
class=”btn-primary”
What is Bootstrap’s class=”btn-primary” useful for?
For highlighting actions you want your user to take.
What 2 classes does Bootstrap’s class=”btn-primary” need in order to work?
- class=”btn”
2. class=”btn-block”
What Bootstrap button class is used to call attention to optional actions that the user can take?
class=”btn-info”
What 2 classes does Bootstrap’s class=”btn-info” need in order to work?
- class=”btn”
2. class=”btn-block”
What Bootstrap class is used to notify users that the button performs a destructive action, such as deleting a cat photo.
btn-danger