What is the purpose of the CSS border-style property?
- Controls the spacing between elements
- Defines the style of the border
- Sets the width of the border
- Specifies the color of the border
The border-style property in CSS is used to define the style of the border of an element. It can take values like solid, dotted, dashed, etc., to determine the appearance of the border.
Loading...
Related Quiz
- What is the main advantage of using CSS Grid over Flexbox for complex layouts?
- The CSS function ______ allows you to perform arithmetic calculations directly within your stylesheets.
- What is the main purpose of media queries in CSS?
- For a web application with a sidebar and main content area, how would you use CSS Grid to switch from a horizontal layout on wider screens to a vertical layout on narrower screens?
- SCSS functions can be used to perform ________ before the CSS is compiled.