CSS outline Property
w3schools.com · 250 words · saved by 1 readers
Set an outline around a <h2> element and a <div> element.
Example Set an outline around a <h2> element and a <div> element: h2 { outline: 5px dotted green; } div.a { outline: 2px dashed blue; } Try it Yourself » Definition and Usage An outline is a line that is drawn around elements, outside the borders, to make the element "stand out". The outline property is a shorthand property for: outline-width outline-style (required) outline-color If outline-color is omitted, the color applied will be the color of the text. Note: Outlines differ from borders! Unlike border, the outline is drawn outside the element's border, and may overlap…
saved by
related reading
- Colors - Core conceptstailwindcss.com
- CSS Basic User Interface Module Level 3 (CSS3 UI)drafts.csswg.org
- Easing Gradientslarsenwork.com
- Details That Make Interfaces Feel Betterjakub.kr
- Smooth Shadow Pluginshadow.floriankiem.com
- opacity - Effectstailwindcss.com
- border-radius CSS property - CSS | MDNdeveloper.mozilla.org
- CSS Paddingw3schools.com
- stroke-dashoffset CSS property - CSS | MDNdeveloper.mozilla.org
- How to Build Anything Extremely Quickly - Learn How To Learnlearnhowtolearn.org
- Tailwind CSS Colors - All colors + Custom color generatoruicolors.app
- LaTeX.css — Make your website look like a LaTeX documentlatex.vercel.app