Search
 
SCRIPT & CODE EXAMPLE
 

CSS

focus in styled component

 &:focus {
        outline: none;
        box-shadow: 0px 0px 2px red;
 }

//check for focus with in (on a child)
 &:focus-within {
    border: 2px solid #1FC2FF;
}
Comment

PREVIOUS NEXT
Code Example
Css :: add shadows on an image css 
Css :: excel arabic numbers 
Css :: position footer to stay at bottom of screen flexbox 
Css :: center a video horizontally 
Css :: css reset 
Css :: calc sass variables 
Css :: css make div on top of everything 
Css :: separar letras en css 
Css :: remove button shadow css 
Css :: Bootstap 5.2.0 cdn 
Css :: css border bottom 
Css :: round button css 
Css :: centralizar div verticalmente css 
Css :: css code to blur background 
Css :: css trim text 
Css :: how to center items in css 
Css :: css animate flashing 
Css :: css transparent input text box 
Css :: font size css 
Css :: css text justify 
Css :: css responsive font size 
Css :: box-shadow 
Css :: pointer-events 
Css :: html input search x cursor pointer 
Css :: css last of type 
Css :: react native flatlist styled height fit content 
Css :: bootstrap scrollable modal 
Css :: how to lighten a color in css 
Css :: chmod recursive 
Css :: css regions 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =