Discussion :: CSS - CS
-
Choose the option that correctly specifies the output of the following CSS.
span {
border: 1px solid red;
outline: green dotted thick;
}
A.
All span elements will have a red border and a green dotted outline |
B.
All span elements will have a green thick border and a red outline |
C.
All span elements will have an outer red border and inner green dotted border |
D.
All span elements will have a outer green dotted border and an inner red border |
Answer : Option D
Explanation :
The border property creates the inner border, while the outline sets the outer border.
Be The First To Comment