MCQs > IT & Programming > CSS 3 MCQs > Basic CSS 3 MCQs

Basic CSS 3 MCQ

1. Can you add a dropdown menu inside a navigation bar using CSS 3 dropdowns?



Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

2. Choose True or False.

The CSS 3 box model permits you to add a border around elements and also to define space between the elements.



Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

3. The CSS box model consists of which of the following options?

1. Margin
2. Padding
3. Content



Answer

Correct Answer: All 1, 2, and 3

Note: This Question is unanswered, help us to find answer for this one

4. Consider the following font definition:

font-weight:normal

What is the other way of getting the same result?


Answer

Correct Answer: font-weight:400

Note: This Question is unanswered, help us to find answer for this one

5. Which of the following is not a valid property of an aural style sheet?


Answer

Correct Answer: All of the above are valid.

Note: This Question is unanswered, help us to find answer for this one

6. Which of the following is the initial value for the column-fill property?


Answer

Correct Answer: balance

Note: This Question is unanswered, help us to find answer for this one

7. Which of the following properties doesn't take up space?


Answer

Correct Answer: outline

Note: This Question is unanswered, help us to find answer for this one

8. What is the maximum value that can be given to the voice-volume property?


Answer

Correct Answer: 100

Note: This Question is unanswered, help us to find answer for this one

9. Which of the following is not a valid page break?


Answer

Correct Answer: page-break-outside

Note: This Question is unanswered, help us to find answer for this one

10. Which of the following value of the white-space property will set the value of white-space-collapse to "preserve" and value of the text-wrap to "none"?


Answer

Correct Answer: pre

Note: This Question is unanswered, help us to find answer for this one

11. What is the initial value of the opacity property?


Answer

Correct Answer: 1

Note: This Question is unanswered, help us to find answer for this one

12. What is the default value of the transform property in CSS3?


Answer

Correct Answer: none

Note: This Question is unanswered, help us to find answer for this one

13. Which of the following option does NOT exist in media groups available in CSS3?


Answer

Correct Answer: braille or screen

Note: This Question is unanswered, help us to find answer for this one

14. The sans-serif generic font-family is characterized by:


Answer

Correct Answer: stroke endings that are plain without any flaring, cross stroke, or other ornamentation.

Note: This Question is unanswered, help us to find answer for this one

15. What effect does the following rule have?

div { grid-rows: 4em (0.25em 1em); }


Answer

Correct Answer: It creates a header row with 4em height and alternative rows with 0.25em and 1em heights.

Note: This Question is unanswered, help us to find answer for this one

16. Which of the following styles is not valid for an image?


Answer

Correct Answer: All of the above

Note: This Question is unanswered, help us to find answer for this one

17. State whether following statement is true or false.

The RGB color model is hardware-specific while the HSL is symmetrical to lightness and darkness.


Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

18. The color in three digit RGB notation is #fb0. What will be its equivalent six digit color code?


Answer

Correct Answer: #ffbb00

Note: This Question is unanswered, help us to find answer for this one

19. What is the type of the letter-spacing property?


Answer

Correct Answer: length

Note: This Question is unanswered, help us to find answer for this one

20. You want to set the image resolution to 300dpi irrespective of the resolution of the image. Which of the following codes will be used?


Answer

Correct Answer: img { image-resolution: 300dpi };

Note: This Question is unanswered, help us to find answer for this one

21. What is the initial value of the animation-iteration-count property?


Answer

Correct Answer: 1

Note: This Question is unanswered, help us to find answer for this one

22. What is the initial value of the font-size property?


Answer

Correct Answer: medium

Note: This Question is unanswered, help us to find answer for this one

23. Can a percentage value be given in a ruby-align property?


Answer

Correct Answer: No

Note: This Question is unanswered, help us to find answer for this one

24. What is the range of values (in decimal notation) that can be specified in the RGB color model?


Answer

Correct Answer: 0 to 255

Note: This Question is unanswered, help us to find answer for this one

25. What will happen if the following style declaration is applied to an element?

p { margin: 3em 2em }


Answer

Correct Answer: The top and the bottom margins will be 3em and the left and the right margins will be 2em.

Note: This Question is unanswered, help us to find answer for this one

26. What is the initial value of the marquee-speed property?


Answer

Correct Answer: normal

Note: This Question is unanswered, help us to find answer for this one

27. What will happen if the cursor property value is set to none?


Answer

Correct Answer: No cursor will be displayed.

Note: This Question is unanswered, help us to find answer for this one

28. For the clear property, which of the following value is not valid?


Answer

Correct Answer: top

Note: This Question is unanswered, help us to find answer for this one

29. State whether the following statement is true or false.

If a parent element display property is set to none, its children too will not be rendered.


Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

30. Which of the following styles is valid?


Answer

Correct Answer: border: none;

Note: This Question is unanswered, help us to find answer for this one

31. Which is new css3 property?

Answer

Correct Answer: background-size

Note: This Question is unanswered, help us to find answer for this one

32. Does z-index: -1 place the element behind its parent?

Answer

Correct Answer: Only if the parent does not establish a local stacking context

Note: This Question is unanswered, help us to find answer for this one

33. What CSS value scales the background image to the largest size contained within the element?

Answer

Correct Answer: contain

Note: This Question is unanswered, help us to find answer for this one

34. CMYK color model can be used with CSS in modern browsers?

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

35. What does the font-size-adjust property do?

Answer

Correct Answer: It specifies an aspect value for an element that will effectively preserve the x-height of the first choice font

Note: This Question is unanswered, help us to find answer for this one

36. When using background-clip, values can be added to:

Answer

Correct Answer: padding-box

Note: This Question is unanswered, help us to find answer for this one

37. How would you repeat a gradient in CSS3?

Answer

Correct Answer: background: repeating-linear-gradient(red, blue 10%, green 20%);

Note: This Question is unanswered, help us to find answer for this one

38. Can you use CSS3 with older version of HTML?

Answer

Correct Answer: No

Note: This Question is unanswered, help us to find answer for this one

39. To make text appear on a page just by hovering over any portion of a page use:

Answer

Correct Answer: title

Note: This Question is unanswered, help us to find answer for this one

40. Which of the following is not a new background property in CSS3?

Answer

Correct Answer: background-shadow

Note: This Question is unanswered, help us to find answer for this one

41. To use a fading link transition use:

Answer

Correct Answer: Ease-in

Note: This Question is unanswered, help us to find answer for this one

42. Which of the following is NOT a new CSS3 pseudo selector?

Answer

Correct Answer: :includes

Note: This Question is unanswered, help us to find answer for this one

43. Which of the following represents correct CSS shorthand for setting font family, font size, line-height and font weight for an element?

Answer

Correct Answer: font: bold 18px/1.2 verdana;

Note: This Question is unanswered, help us to find answer for this one

44. What is the earliest Internet Explorer and Chrome that supports multiple columns?

Answer

Correct Answer: 10.0, 4.0

Note: This Question is unanswered, help us to find answer for this one

45. What are two of the four sizes with radial gradients?

Answer

Correct Answer: closest-side, farthest-corner

Note: This Question is unanswered, help us to find answer for this one

46. How can we call different bullets without using classes to the particular <li>?

Answer

Correct Answer: li /line break/ li+li /line break/ li+li+li /line break/

Note: This Question is unanswered, help us to find answer for this one

47. To set the clipping region of an element use:

Answer

Correct Answer: Clip

Note: This Question is unanswered, help us to find answer for this one

48. In CSS, > is called a:

Answer

Correct Answer: combinator

Note: This Question is unanswered, help us to find answer for this one

49. Which of these properties does not exist?

Answer

Correct Answer: transparency

Note: This Question is unanswered, help us to find answer for this one

50. The concept of designing a site which retains its meaning and functionality, even when certain (usually older) browsers cause display faults, is called...

Answer

Correct Answer: Graceful Degradation

Note: This Question is unanswered, help us to find answer for this one

51. To make an element move fast or slow what property must you change?

Answer

Correct Answer: Duration or Transition

Note: This Question is unanswered, help us to find answer for this one

52. Which of these is NOT a valid css3 pseudo class?

Answer

Correct Answer: :blank

Note: This Question is unanswered, help us to find answer for this one

53. True or False: CSS3 selectors are different from CSS1 and CSS2 selectors.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

54. How wide is the following div? div { box-sizing:border-box; width: 200px; padding: 20px; border:1px solid #000; }

Answer

Correct Answer: 242px

Note: This Question is unanswered, help us to find answer for this one

55. Which of the following is not a correct keyword value for the font-stretch property?

Answer

Correct Answer: macro-expanded

Note: This Question is unanswered, help us to find answer for this one

56. How would you use CSS3's new selectors to match the last 2 elements of a particular type?

Answer

Correct Answer: :nth-last-child(-n+2)

Note: This Question is unanswered, help us to find answer for this one

57. Is this code written correctly?: span[hello="Cleveland"],[goodbye="Columbus"] { color: blue; }

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

58. What is the correct syntax of wrapping of the word in CSS3?

Answer

Correct Answer: word-wrap: break-word;

Note: This Question is unanswered, help us to find answer for this one

59. What would the standard syntax to use a gradient in CSS3?

Answer

Correct Answer: background: linear-gradient(to bottom right, orange, blue);

Note: This Question is unanswered, help us to find answer for this one

60. Which of the following is NOT new in CSS3?

Answer

Correct Answer: Media queries

Note: This Question is unanswered, help us to find answer for this one

61. rgba differs from the opacity declaration in that:

Answer

Correct Answer: rgba controls only the element it references, while opacity controls itself and all child elements

Note: This Question is unanswered, help us to find answer for this one

62. Portrait and Landscape specific stylings are used for:

Answer

Correct Answer: Both of these

Note: This Question is unanswered, help us to find answer for this one

63. Which of these is not a valid CSS3 color value?

Answer

Correct Answer: hsb(177, 65, 62)

Note: This Question is unanswered, help us to find answer for this one

64. What does this selector do? ul ~ p { color: red; }

Answer

Correct Answer: Selects any p elements that follow a ul.

Note: This Question is unanswered, help us to find answer for this one

65. All properties must have a:

Answer

Correct Answer: Value

Note: This Question is unanswered, help us to find answer for this one

66. What is the earliest version of Internet Explorer that supports border-radius?

Answer

Correct Answer: 9.0

Note: This Question is unanswered, help us to find answer for this one

67. In HTML5, how can you visually center this <div class="center">hi</div>?

Answer

Correct Answer: .center{margin:0 auto; width:250px; }

Note: This Question is unanswered, help us to find answer for this one

68. Pick the INCORRECT selector

Answer

Correct Answer: element[att+=val]

Note: This Question is unanswered, help us to find answer for this one

69. Which of the following transitions follows the correct format?

Answer

Correct Answer: transition: width 1s linear 2s;

Note: This Question is unanswered, help us to find answer for this one

70. Which property is used to specify type faces ?

Answer

Correct Answer: Font-face

Note: This Question is unanswered, help us to find answer for this one

71. Do you have to use -webkit- for border images in CSS3?

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

72. Which of these properties does NOT exist in CSS3?

Answer

Correct Answer: text-opacity

Note: This Question is unanswered, help us to find answer for this one

73. True or False? Round corners were supported before CSS3

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

74. Complete this styling. text-shadow:

Answer

Correct Answer: 2px 2px 2px #666

Note: This Question is unanswered, help us to find answer for this one

75. Which one of the following selector checks if the attribute begins with "val"?

Answer

Correct Answer: [att^=val]

Note: This Question is unanswered, help us to find answer for this one

76. Generated Content is added in CSS by which syntax pattern?

Answer

Correct Answer: element:before { content: "foo"; }

Note: This Question is unanswered, help us to find answer for this one

77. What would the following CSS do? text-transform: capitalize;

Answer

Correct Answer: Capitalize the first letter of every word

Note: This Question is unanswered, help us to find answer for this one

78. The two primary stylesheet languages are CSS and:

Answer

Correct Answer: XSL

Note: This Question is unanswered, help us to find answer for this one

79. Consider the following code: <div style="height: 40px; width: 40px;background:black;margin: 20px 30px 50px;"></div> what would be the margin of the 'div'?

Answer

Correct Answer: top margin 20px, left and right margin 30px, bottom margin 50px

Note: This Question is unanswered, help us to find answer for this one

80. The background-origin property specifies the positioning area of background images, which can be placed...

Answer

Correct Answer: ...within the content-box, padding-box, or border-box area.

Note: This Question is unanswered, help us to find answer for this one

81. The correct way to select <li> elements which are "even" in terms of their placement (ie. 2nd, 4th, 6th, etc) would be?

Answer

Correct Answer: li:nth-child(even)

Note: This Question is unanswered, help us to find answer for this one

82. Given the following HTML snippet: <h1 class="title header">Hello</h1> And the following CSS: h1 { color: blue; } .title.header { color: red; } .title { color: green; } What color will the text "Hello" have?

Answer

Correct Answer: Red

Note: This Question is unanswered, help us to find answer for this one

83. What is the method to stretch an image as a border in CSS3?

Answer

Correct Answer: #stretch

Note: This Question is unanswered, help us to find answer for this one

84. What would 'a:focus:hover' be an example of?

Answer

Correct Answer: Dynamic pseudo-class

Note: This Question is unanswered, help us to find answer for this one

85. The CSS3 specification will allow for the use of generated gradients as background images.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

86. In order to animate you must use the _____ property.

Answer

Correct Answer: Transition

Note: This Question is unanswered, help us to find answer for this one

87. What does the :empty pseudo class target?

Answer

Correct Answer: Elements that have no children.

Note: This Question is unanswered, help us to find answer for this one

88. Which CSS property would you use to make text italicized?

Answer

Correct Answer: font-style

Note: This Question is unanswered, help us to find answer for this one

89. What does the translate() method do?

Answer

Correct Answer: moves the element from its current position, depending on the parameters given for the left (X-axis) and the top (Y-axis) position

Note: This Question is unanswered, help us to find answer for this one

90. If the same property is styled at the beginning and at the end of a stylesheet...

Answer

Correct Answer: only the latter will apply

Note: This Question is unanswered, help us to find answer for this one

91. Which of the following is NOT a proper CSS browser prefix?

Answer

Correct Answer: -ie-border-radius: { }

Note: This Question is unanswered, help us to find answer for this one

92. True or False: With the implementation of CSS3, CSS1 and CSS2 are no longer needed.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

93. How would you add three columns to a page using CSS3

Answer

Correct Answer: div { -webkit-column-count: 3 /* Chrome, Safari, Opera*/ -moz-column-count: 3 /* Firefox */ column-count:3; }

Note: This Question is unanswered, help us to find answer for this one

94. To change the state of a selector you must change its:

Answer

Correct Answer: Property

Note: This Question is unanswered, help us to find answer for this one

95. In webkit, in order to set the transition duration you must first:

Answer

Correct Answer: set the transition property

Note: This Question is unanswered, help us to find answer for this one

96. When style in different locations conflict, which will take precedence?

Answer

Correct Answer: Inline style attribute

Note: This Question is unanswered, help us to find answer for this one

97. If a layout is created in a PSD with blue buttons in the nav, then it would be best for the speed of the page to:

Answer

Correct Answer: Create the button using CSS

Note: This Question is unanswered, help us to find answer for this one

98. What line of HTML would you use to reference an external style sheet?

Answer

Correct Answer: <link rel="stylesheet" type="text/css" href="example.css">

Note: This Question is unanswered, help us to find answer for this one

99. In CSS3 it is possible to specify the size of the background image...

Answer

Correct Answer: ...in pixels or percentages.

Note: This Question is unanswered, help us to find answer for this one

100. Which is correct use of border-radius?

Answer

Correct Answer: any of these

Note: This Question is unanswered, help us to find answer for this one

101. Which of the following is NOT a feature of CSS3:

Answer

Correct Answer: All of these are features of CSS3.

Note: This Question is unanswered, help us to find answer for this one

102. After assigning a value to a property you should end the statement with a:

Answer

Correct Answer: Semi-colon

Note: This Question is unanswered, help us to find answer for this one

103. True or False: CSS3 allows you to animate divs.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

104. Using CSS3 you can create multi-colored:

Answer

Correct Answer: all of these

Note: This Question is unanswered, help us to find answer for this one

105. The ':before' and ':after' pseudo-elements can be used to insert generated content before or after an element's content.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

106. Can you make text seem hollow with CSS3?

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

107. True or False: You can create a full navigation bar including background color, buttons, horizontal or vertical alignment using all CSS!

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

108. Which color will show this css value : #000000;

Answer

Correct Answer: Black

Note: This Question is unanswered, help us to find answer for this one

109. Before you can use CSS3 you must first add a:

Answer

Correct Answer: None of these

Note: This Question is unanswered, help us to find answer for this one

110. CSS2 and CSS3 styles can be combined.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

111. What are different ways to apply styles to a Web page?

Answer

Correct Answer: All of these

Note: This Question is unanswered, help us to find answer for this one

112. To remove the underline from an href use:

Answer

Correct Answer: text-decoration: none;

Note: This Question is unanswered, help us to find answer for this one

113. Can you expand the width of an element with a hover action in transitions in CSS3 or only other elements?

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

114. How do you add a comment in CSS?

Answer

Correct Answer: /* Comment */

Note: This Question is unanswered, help us to find answer for this one

115. True or False: In CSS3, one can add multiple background images.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

116. Can you use negative values for box-shadow in CSS3?

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

117. To style a section element, you may use:

Answer

Correct Answer: section {color: red;}

Note: This Question is unanswered, help us to find answer for this one

118. Which color will show this css value : #ffffff;

Answer

Correct Answer: White

Note: This Question is unanswered, help us to find answer for this one

119. True or False: A roll-over effect can be acheived using CSS.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

120. In some instances CSS3 has replaced the need for:

Answer

Correct Answer: All of the these

Note: This Question is unanswered, help us to find answer for this one

121. You can use HTML attributes to define styles inline.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

122. Transitions are best supported in:

Answer

Correct Answer: WebKit browsers

Note: This Question is unanswered, help us to find answer for this one

123. CSS specifications are maintained by:

Answer

Correct Answer: W3C

Note: This Question is unanswered, help us to find answer for this one

124. True or False: CSS3 can be used to create images and animation.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

125. To use CSS to make the corners of an element round without the use of scripting use:

Answer

Correct Answer: Border-radius

Note: This Question is unanswered, help us to find answer for this one

126. What is the limit assigned to using the :nth-child(-n+X) pseudo-selector where "X" represents the number of matches you wish to include?

Answer

Correct Answer: Infinite

Note: This Question is unanswered, help us to find answer for this one

127. CSS can be used to style...

Answer

Correct Answer: all of these

Note: This Question is unanswered, help us to find answer for this one

128. When using multiple images on a background you must also set the _____ for both.

Answer

Correct Answer: positioning

Note: This Question is unanswered, help us to find answer for this one

129. When using HTML5 canvas it's good to...

Answer

Correct Answer: All of the these.

Note: This Question is unanswered, help us to find answer for this one

130. Which browser dos NOT support all properties of 3D-Transforms

Answer

Correct Answer: Internet Explorer 10

Note: This Question is unanswered, help us to find answer for this one

131. What is the syntax of opacity in CSS3?

Answer

Correct Answer: opacity:0.4;

Note: This Question is unanswered, help us to find answer for this one

132. What browser is transform-style not supported in

Answer

Correct Answer: Internet Explorer

Note: This Question is unanswered, help us to find answer for this one

133. CSS3 allows us to specify an inset text-shadow, similar to box-shadow.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

134. In CSS, * is called a:

Answer

Correct Answer: universal selector

Note: This Question is unanswered, help us to find answer for this one

135. Can you rotate images in CSS3 and if you can what is the right method to do so?

Answer

Correct Answer: Yes, rotate

Note: This Question is unanswered, help us to find answer for this one

136. To get li tags to sit side by side use:

Answer

Correct Answer: Display: inline

Note: This Question is unanswered, help us to find answer for this one

137. margin-top:30px; Here:

Answer

Correct Answer: margin-top is property and 30px is value

Note: This Question is unanswered, help us to find answer for this one

138. What tag would you use to make an internal style sheet on your HTML document?

Answer

Correct Answer: <style>

Note: This Question is unanswered, help us to find answer for this one

139. When making an animation in CSS3, can the image change color as it moves or does it have to wait till it makes destination?

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

140. How would you make the background color of all the divs on a page blue?

Answer

Correct Answer: div { background-color: blue; }

Note: This Question is unanswered, help us to find answer for this one

141. In this order, content, padding, border, margin, these best represent _____

Answer

Correct Answer: CSS Box Model

Note: This Question is unanswered, help us to find answer for this one

142. Which one is correct way to give margin to an element?

Answer

Correct Answer: margin:30px 20px 10px 20px;

Note: This Question is unanswered, help us to find answer for this one

143. How would you cause an element to acquire the font-family of its parent element?

Answer

Correct Answer: font-family: inherit;

Note: This Question is unanswered, help us to find answer for this one

144. What property is used when creating custom fonts?

Answer

Correct Answer: @font-face

Note: This Question is unanswered, help us to find answer for this one

145. To set opacity of the background of an element, use:

Answer

Correct Answer: Background-color:rgba(0,0,0,0.5)

Note: This Question is unanswered, help us to find answer for this one

146. What would 'p:first-child' be an example of?

Answer

Correct Answer: pseudo-class

Note: This Question is unanswered, help us to find answer for this one

147. CSS elements specified in a stylesheet should always end with ___________.

Answer

Correct Answer: a curly bracket ( } )

Note: This Question is unanswered, help us to find answer for this one

148. True or False: Due to CSS box model you cannot create a circle using CSS3.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

149. When styling for devices with 3-3.5 inch screen sizes it's best to use:

Answer

Correct Answer: media queries

Note: This Question is unanswered, help us to find answer for this one

150. Using li:nth-child(odd) will:

Answer

Correct Answer: affect only the odd numbered li tags

Note: This Question is unanswered, help us to find answer for this one

151. Opacity can cause an image to appear:

Answer

Correct Answer: faded

Note: This Question is unanswered, help us to find answer for this one

152. True or False: The borders of an element can vary only up to 2 sides.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

153. Is it true that the z-index property only applies to positioned elements?

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

154. In an unordered list, to turn off the bullets on the li tags use:

Answer

Correct Answer: list-style: none;

Note: This Question is unanswered, help us to find answer for this one

155. What are the 4 current vendor prefixes for css3 properties? (5 major desktop browsers, not mobile or tv)

Answer

Correct Answer: -moz-, -webkit-, -o, -ms,

Note: This Question is unanswered, help us to find answer for this one

156. Which selector can be used to target every element on a page?

Answer

Correct Answer: *

Note: This Question is unanswered, help us to find answer for this one

157. Does CSS3 totally take over CSS2 or can the two be mixed?

Answer

Correct Answer: mixed

Note: This Question is unanswered, help us to find answer for this one

158. What does this code do? @import url("mystyle.css");

Answer

Correct Answer: import style rules from other style sheets

Note: This Question is unanswered, help us to find answer for this one

159. Is the following valid? "box-shadow: -5px -5px -5px #ccc;"

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

160. Which one of these is not a font-weight descriptor in CSS3?

Answer

Correct Answer: italic

Note: This Question is unanswered, help us to find answer for this one

161. To have a box-shadow inside of the div use:

Answer

Correct Answer: inset

Note: This Question is unanswered, help us to find answer for this one

162. To create more space within a CSS3 button use:

Answer

Correct Answer: padding

Note: This Question is unanswered, help us to find answer for this one

163. Is ::first-line a pseudo-element?

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

164. Before using CSS3 declarations it is important to:

Answer

Correct Answer: be aware of the browser support

Note: This Question is unanswered, help us to find answer for this one

165. Use _____ to spread out the letters of each word in a sentence.

Answer

Correct Answer: letter-spacing

Note: This Question is unanswered, help us to find answer for this one

166. Whether or not a browser accepts a styling is called:

Answer

Correct Answer: browser support

Note: This Question is unanswered, help us to find answer for this one

167. li:nth-child(2n+1) { background-color: rgba(225, 0, 30, 0.8); } This code will:

Answer

Correct Answer: change the background color for each odd numbered li tag

Note: This Question is unanswered, help us to find answer for this one

168. What would a:link be an example of?

Answer

Correct Answer: pseudo-class

Note: This Question is unanswered, help us to find answer for this one

169. To give the effect of using tables without actually using tables in the HTML use:

Answer

Correct Answer: display:table

Note: This Question is unanswered, help us to find answer for this one

170. Do "left", "top", "right" and "bottom" properties apply to all positioned elements?

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

171. Webkit has it's own prefix and works in:

Answer

Correct Answer: Webkit browsers only

Note: This Question is unanswered, help us to find answer for this one

172. The correct way to select only inputs which are "disabled" is?

Answer

Correct Answer: input:disabled

Note: This Question is unanswered, help us to find answer for this one

173. Which of the following options below has the correct CSS syntax?

Answer

Correct Answer: p {color:red; text-align:center;}

Note: This Question is unanswered, help us to find answer for this one

174. what is the vendor prefix for internet explorer ?

Answer

Correct Answer: -ms-

Note: This Question is unanswered, help us to find answer for this one

175. Is @keyframes an method of animations in CSS3?

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

176. With the emergence of CSS3, CSS2 has become:

Answer

Correct Answer: none of these

Note: This Question is unanswered, help us to find answer for this one

177. How would you set a background image to not repeat?

Answer

Correct Answer: div { background-repeat: no-repeat; }

Note: This Question is unanswered, help us to find answer for this one

178. You can specify the horizontal shadow, vertical shadow and the ______ distance in text-shadow.

Answer

Correct Answer: blur

Note: This Question is unanswered, help us to find answer for this one

179. To specify the character encoding in an external stylesheet use:

Answer

Correct Answer: @charset

Note: This Question is unanswered, help us to find answer for this one

180. To turn text into all uppercase, use:

Answer

Correct Answer: text-transform:

Note: This Question is unanswered, help us to find answer for this one

181. This code will affect: @media print {h1#first { position: static }

Answer

Correct Answer: print only

Note: This Question is unanswered, help us to find answer for this one

182. What is the shorthand version of the CSS3 property transition?

Answer

Correct Answer: transition: property duration timing-function delay

Note: This Question is unanswered, help us to find answer for this one

183. If there is not enough room for a float on a line it is:

Answer

Correct Answer: shifted downward

Note: This Question is unanswered, help us to find answer for this one

184. _____ positioned boxes are taken out of the normal flow.

Answer

Correct Answer: Absolute

Note: This Question is unanswered, help us to find answer for this one

185. How can you apply a "bounce" effect to an element?

Answer

Correct Answer: Both answers are correct.

Note: This Question is unanswered, help us to find answer for this one

186. We write single ______ before the pseudo-class property.

Answer

Correct Answer: colon

Note: This Question is unanswered, help us to find answer for this one

187. Which is a recognized media type?

Answer

Correct Answer: All of these

Note: This Question is unanswered, help us to find answer for this one

188. Have all of the CSS3 properties been implemented in the modern browsers?

Answer

Correct Answer: No

Note: This Question is unanswered, help us to find answer for this one

189. What is the common CSS3 trick used to trigger hardware acceleration on mobile devices?

Answer

Correct Answer: Use 3D transforms (for 2D with Z axis set to 0)

Note: This Question is unanswered, help us to find answer for this one

190. True or False? The word-wrap and overflow-wrap properties have the same effects.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

191. To debug for Section 508 compliance you may want to check that all images contain alt tags. To do this you use:

Answer

Correct Answer: img:not([alt])

Note: This Question is unanswered, help us to find answer for this one