A Pen by Junior Cesar Abreu on CodePen.
Created
April 13, 2017 18:05
-
-
Save juniorcesarabreu/f04f18f0c13d932c1854e858e03ae164 to your computer and use it in GitHub Desktop.
Outline property
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p><b>Note:</b> IE8 supports the outline properties only if a !DOCTYPE is | |
specified.</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p { | |
padding: 10px; | |
border: 5px solid red; | |
outline: red dotted 5px; | |
outline-offset: 1px; /*espaço entre a borda e o outline*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment