SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
CSS 3
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. A rule to remove bullets from a list
href="<relative URL here>"
ul{ list-style: none;}
repeat (values: repeat, repeat-x, repeat-y, no-repeat)
only-child
2. _____ measurements are recommended for font sizes
padding
Relative
a img {border: none;}
RGBA
3. h2~p { margin-left: 2em; } is an example of a ______ selector
collapsed
pseudo-classes
general sibling (new to CSS3)
pseudo-class
4. Five common CSS pseudo classes:link - _______ - active - hover - focus
Chrome & Safari
multiple selectors
Nothing! the values are not comma separated (delimited)
visited
5. The ____ attribute is used to specify the platform that the style sheet is for (mobile - print etc)
media
comma (,)
Firefox
rel="stylesheet"
6. box-shadow syntax: _________: horzOffset vertOffset blurRadius spread color; (not comma separated)
comma (,)
descendant
<li>
box-shadow
7. Three ways to code CSS3 colors: _____ - HSL - HSLA
attachment (with values of 'scroll' or 'fixed')
RGBA
external
ul{ list-style: none;}
8. To make sure someone who can't use a mouse has the same experience as a 'mouser' style the :hover pseudo-class the same as the ______
descendant
padding
margin
:focus pseudo-class
9. In a set of possibly conflicting rules the one that is mentioned _____ is the one that will be used and all other things being equal
Chrome & Safari
last
child
RGBA
10. Six properties for setting heights & widths: width - height - ______- max-width - min-height - max-height
attribute
user style sheet
min-width
Pseudo-elements
11. #main { padding: 1em;} is an example of a selector made by _____
-webkit-
id
box-shadow
screen
12. An HTML element may be a selector (<p> for example). This is known as a rule that selects by ______
type
attribute
visited
descendant
13. Two new box model properties in CSS3: border-radius and ________
em
box-shadow
embedded styles
a:link{text-decoration: none;}
14. Shortcut HEX code for #FF99AA
http://html5shiv.googlecode.com/svn/trunk/html5.js
user style sheet
#F9A
only-child
15. border shorthand syntax
specificity
border: [width] [style] [color];
RGBA
attribute
16. HTML5 structural tags in older browsers must be styled as _____ elements
block
only-child
general sibling (new to CSS3)
Chrome & Safari
17. Attribute specifying the location of an external style sheet
a img {border: none;}
:focus pseudo-class
href="<relative URL here>"
pseudo-classes
18. [ ] are indicative of _______ selectors
visited
<li>
attribute
border: [width] [style] [color];
19. Rule to remove underlining in a hyperlink that hasn't yet been visited
a:link{text-decoration: none;}
pseudo-class
Box Model
16
20. Shorthand border syntax
media
specific
zero out
border: [width] [style] [color];
21. .right {text-align: right;} is an example of a selector made by _______
class
attribute
multiple selectors
rel="stylesheet"
22. Rules with a higher _____ are the ones that will be used
border: [width] [style] [color];
position (with values: left, center, right, top, center, bottom)
pseudo-classes
specificity
23. Three common CSS3 pseudo-classes: first-child - last-child - _______
-moz-
only-child
margin
class (.)
24. There are ____ descriptive color names
Lightness
type
16
box-shadow
25. _______ are predefined classes that apply to specific conditions
Pseudo-elements
min-width
collapsed
Pseudo-classes
26. The colon (:) is indicative of __________
pseudo-classes
Box Model
descendant
class
27. Prefix for linear gradient commands in Opera
ul{ list-style: none;}
-o-
multiple selectors
link
28. The 'external' space or 'force field' between an element & it's containing element
Relative
margin
class (.)
<li>
29. Sequence in which styles are applied: _______ - embedded - inline
padding
width
external
-moz-
30. ________ are selectors that let you select a portion of text
Pseudo-elements
:focus pseudo-class
Relative
*
31. Shorthand for background property
background: [color] [image] [repeat] [attachment] [position];
Alpha
attribute
margin
32. Two common pseudo-elements: ______ - first-line
media
embedded styles
Pseudo-elements
first-letter
33. Keyword with 'background' that specifies the initial horizontal and vertical positions of an image
position (with values: left, center, right, top, center, bottom)
!important
Alpha
Box Model
34. Because different browsers have different default margins for block elements you often need to ________ those values using the * (wildcard) selector and set the margins explicitly
width
user style sheet
zero out
media
35. Backwards compatibility for __________ & shadows -webkit-box-shadow
-moz-
a img {border: none;}
Chrome & Safari
attribute
36. Linear gradient syntax
background-image: linear-gradient(direction, color %, color %, ...);
-o-
unordered (<ul>)
ul{ list-style: none;}
37. HSLA: Hue - Saturation - Lightness - _____
16
Alpha
border: [width] [style] [color];
link
38. What does this do? padding: 2px, 4px, 6px, 8px;
background: [color] [image] [repeat] [attachment] [position];
attribute selectors
Nothing! the values are not comma separated (delimited)
HEX code
39. Prefix for linear gradient commands in Firefox
em
external
-moz-
specificity
40. CSS is a special language used just for _____
em
Lightness
Pseudo-elements
formatting
41. Keyword with 'background' that specifies whether an image scrolls with the document or remains in a fixed position
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
42. Wildcard (universal selector) to select all elements
child
*
clickable
rel="stylesheet"
43. The 'internal' space between content area & border
!important
-o-
padding
class (.)
44. Keyword with 'background' that specifies if and how an image repeats
Chrome & Safari
screen
-moz-
repeat (values: repeat, repeat-x, repeat-y, no-repeat)
45. Some users with special needs may have set up a ______ which have a higher ranking in the 'cascade'
Pseudo-classes
user style sheet
attachment (with values of 'scroll' or 'fixed')
reset
46. _______ Memory Aid: TRBL ('trouble' = top, right, bottom, left)
min-width
em
Box Model
background: [color] [image] [repeat] [attachment] [position];
47. Tag used to bring CSS into a web page from an external source
RGBA
visited
last
link
48. Three ways to provide styles: external style sheet - ________- style attributes applied to a single element (inline)
embedded styles
background: [color] [image] [repeat] [attachment] [position];
RGBA
media
49. The p.highlight selector is more _____ than the .highlight selector
external
min-width
specific
a img {border: none;}
50. Three ways to specify colors in traditional CSS:color name - RGB - _______
child
box-shadow
collapsed
HEX code