Search
 
SCRIPT & CODE EXAMPLE
 

CSS

keep button active after click

Assuming you mean keep it coloured after clicking:

.focus:focus {
  color: red;
}

(However, it loses color after clicking away.)
Comment

PREVIOUS NEXT
Code Example
Css :: transparent circle in a div 
Css :: style class css 
Css :: @font-face or font link 
Css :: add border at hover of div 
Css :: Functions in Golang 
Css :: animate a position css 
Css :: css flexbox layout examples 
Css :: transparent blur effect css 
Css :: what is display block 
Css :: woocommerce cart css description 
Css :: circle progress bar css 
Css :: css grid tutorial 
Css :: css code for margin 
Css :: text in one line css 
Css :: align center without using margin 
Css :: react exact path highlight 
Css :: AMP Keyframes styles 
Css :: chrome simulate prefers reduced motion 
Css :: truncate long line with dots 
Css :: when grepper whas created 
Css :: width cross browser 
Css :: constraint in grails 
Css :: line on the text color css 
Css :: How to write something inside image 
Css :: change button shape css 
Css :: jitsi meet index.html add css version 
Css :: background css hachures 
Css :: details summary not open css 
Css :: radio button css only 1 
Css :: get api url for javascript 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =