Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css detect if input has value

input:not(:placeholder-shown) {
  border-color: green;
}

input:placeholder-shown {
  border-color: red;
}
Comment

PREVIOUS NEXT
Code Example
Css :: css div side rounded 
Css :: resize checkbox 
Css :: scss sass watch command line 
Css :: how to blur background image in css 
Css :: JS make text not highlightable 
Css :: how to align divs in a row 
Css :: boxshadow one side 
Css :: ufw allow from subnet 
Css :: tailwind backdrop 
Css :: CS REMOVING BACKGROUND IMAGE 
Css :: circle css with text in the center 
Css :: schatten css 
Css :: tablet screen size css 
Css :: check if swap is working 
Css :: how to set font max width in css 
Css :: media screen 
Css :: how to link css to html in visual studio code 
Css :: change height of range slider html 
Css :: how to center vertically and horizontally in css 
Css :: css not class 
Css :: css vertical align 
Css :: box shadow transperent 
Css :: css rules only for mozilla 
Css :: ul text decoration css 
Css :: onclick change visibility 
Css :: change br height 
Css :: remve arrow from input ype number 
Css :: how to round the corners of a div outline in css 
Css :: padding html 
Css :: kotlin string to int 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =