Which of the following selector is used to selects siblings?
A. ::after
B. E ~ F
C. :checked
D. E[attr^=value]
Answer: Option B
Solution(By Examveda Team)
p ~ strong {font-style: italic;}/* sets the font style to italic on all strong tags that have a p tag as a preceding sibling */
Related Questions on CSS3 Fundamentals
Which of the following css property specifies an image to use as the background of an element?
A. background
B. background-img
C. background-image
D. none of the mentioned
Which of the following css property specifies a delay for the transition effect?
A. transition-delay
B. transition-effect
C. transition
D. transition-duration
A. rotateY()
B. rotate-Y()
C. rotate-Yaxis()
D. none of the mentioned
Which of the following property defines where a 3D element is based in the x- and the y-axis?
A. transform-style
B. perspective(n)
C. perspective-origin
D. none of the mentioned
Join The Discussion