Search
 
SCRIPT & CODE EXAMPLE
 

CSS

CSS Outline Offset

p {
  margin: 30px;
  border: 1px solid black;
  outline: 1px solid red;
  outline-offset: 15px;
}
Comment

outline offset css

.photo{
  /*2 rem outside border */
  outline-offset:2rem;
  &:hover{
    outline:1.5rem solid green;
  
}
Comment

PREVIOUS NEXT
Code Example
Css :: changing bakcgound color like animation using tailwind 
Css :: css clicked event 
Css :: aspect ratio css 
Css :: bootstrap modal resize with jquery 
Css :: how to make the header stay on the top of the page in html 
Css :: css all uppercase to capitalize 
Css :: scss responsive container 
Css :: Vuetify v-data-table custom row hover background color (Light Theme) 
Css :: box style 
Css :: *+* css 
Css :: website css not loading 
Css :: react bootstrap carousel not working 
Css :: fixed within the div css 
Css :: prevent bounce scroll css 
Css :: alternate css animation 
Css :: css math functions 
Css :: change text in a div css 
Css :: css button click animation 
Css :: add space between flex items 
Css :: italic in css 
Css :: css custom properties 
Css :: This message is shown once a day. To disable it please create 
Css :: important css 
Css :: remove horizontal scroll in small devices css 
Css :: include screen size 
Css :: add border to png outline css 
Css :: increase space between dashed border css 
Css :: html checkbox change styling 
Css :: css animation-fill-mode 
Css :: how to override material ui css 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =