DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSS
add border at hover of div
.photo
{
/*2 rem outside border */
outline-offset
:
2
rem
;
&
:hover
{
outline
:
1.5
rem
solid
green
;
}
PREVIOUS
NEXT
Tagged:
#add
#border
#hover
#div
ADD COMMENT
Topic
COMMENT
Name
8+3 =
Submit