How do you set size of the text for some element?
Experience Level:
Junior
Tags:
CSS
Answer
p {
font-size: 20px, smaller, larger;
}
Related CSS job interview questions
-
How do you position an element on the screen to the right or left?
CSS Junior -
How do you set font of the text for some element?
CSS Junior -
How do you style the element to have rounded corners?
CSS Junior -
How can you verify whether the element is block or in-line and how can you change this?
CSS Junior -
What is CSS class?
CSS Junior