
Image by Shane Rounce from Unsplash
DESCRIPTION
Outline all your HTML elements with a single line of CSS. Helps with understanding layout by visualizing all elements outlines on the screen.
Preview
Select all selector and the outline
CSS
x
* {
outline: 1px solid red;
}
Summary
- Add the above code to your main CSS file to take effect.
- Select all selector targets all HTML elements and adds outline to them.