27. What is Hue, Saturation, Lumosity, Alpha?
Describe the syntax for hsl and hsla.
28. If there were visitors to your website who are
using old browsers which do not support
CSS3, how would you optimize your website
accordingly for the background-color
property of an element?
58. How would you set styles for links that have
been activated? Meaning thereby, when a
particular link is being clicked and is in the
stage of being clicked.
60. How would you change the width and height
of a box using CSS?
61. How would you change the minimum width
or minimum height of a box?
62. If the content of the box is bigger than the
size of the box, how would you code the CSS
such that the extra markup is
1. Hidden
2. Scrolled
Hint: Overflow
69. What is the short hand for border shadow in
CSS?
70. How would you add border radius to an
element using CSS?
71. How would you change the padding for the
top / bottom / right / left for different
elements?
What is the shorthand syntax to do all this in
one go?
72. How would you change the margin for the
top / bottom / right / left for different
elements?
What is the shorthand syntax to do all this in
one go?
73. How would you center a box on a page or
the elements inside it?
74. How would you turn an inline element
behave as a block level element or vice
versa?
75. How would you hide an element from the
page using the display property?
76. How do you make a block level element flow
like an inline one while retaining its own
features?
77. How would you create a navigation for a
website?
Practical: Create one
78. How would you hide or show the visibility of a
box?
Alternate: Explain what the visibility property
can do and what parameters are given to it?
84. If there are 3 <div> elements and the CSS rule states
div{
position: static;
height: 100px;
width: 100px;
border: 1px solid black;}
How would the elements be placed
88. There are two overlapping <div> elements,
first one with a z-index property set to 1 and
the other's set to 50.
Which one would appear over the other?
90. How would you use the float property to
stack the elements side by side?
91. If there are two <div> elements inside a <div>
wrapper and the elements are given
float: right; float: left;
properties, where would the elements be
placed?
92. What is clear property? What four values can
it take?
93. If the float property of a div element is set to
left, what does it mean?