Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css focus-within

form {
  border: 1px solid;
  color: gray;
  padding: 4px;
}

form:focus-within label{
  background: #ff8;
  color: black;
}

input {
  margin: 4px;
}
Comment

PREVIOUS NEXT
Code Example
Css :: how to ignore an element from the flexbox container 
Css :: sass variable 
Css :: png image border css 
Css :: text shadow css 
Css :: text-align css 
Css :: .row bootstrap 
Css :: background color in hex css 
Css :: background single line property css 
Css :: wordpress how to change logo on a certain page with css 
Css :: what is em in css 
Css :: how to style rule to apply the Border Box model css 
Css :: width in % of a screen css 
Css :: Setting size for png icon in CSS 
Css :: for loop for increment id of div in jquery 
Css :: how to apply css when not on hover 
Css :: opposite of visibility hidden in css 
Css :: change parent div css on over of child 
Css :: css multiple classes 
Css :: asp net css how to change text alignment of gridview column 
Css :: How to force fully show the keyboard in android 
Css :: css make all text center 
Css :: css display 
Css :: css interne 
Css :: tailwindcss color change based on variable 
Css :: first-letter css 
Css :: boostarp grid npm css react 
Css :: foreign key vs indexes 
Css :: wp query not in category 
Css :: css hover animation text 
Css :: css remove line from link 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =