#alertlist li.selected:after, #alertlist li:hover:after
{
position:absolute;
top: 0;
right:-10px;
bottom:0;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-left: 10px solid #303030;
content: "";
}
/*
cssSelector:hover::after,
cssSelector:hover::before
lets say we have a tag
*/
a:hover::after {
/*CSS Property*/
}
a:hover::before {
/*CSS Property*/
}
what you you probably tried previously was :after:hover as opposed to :hover:after. This is what I did initially which frustratingly doesn't work – WickyNilliams Feb 3, 2013 at 22:45
Code Example |
---|
Css :: css disable animation on load |
Css :: animate.css |
Css :: responsive table style |
Css :: css target type |
Css :: css grayscale image |
Css :: css text background |
Css :: losange css |
Css :: Flexbox vs. CSS Grid |
Css :: override vuetify container width |
Css :: how use befor after for image |
Css :: css border |
Css :: glass style css |
Css :: max width css |
Css :: change hover color link in wordpress |
Css :: css border with 8 values |
Css :: how to change font color in css |
Css :: css local variable |
Css :: focus on input change label color |
Css :: img grows up onmouseover css |
Css :: ahk borderless fullscreen |
Css :: how to make the position of a div always stay while scrolling |
Css :: javafx change image on hover |
Css :: css hide select label |
Css :: Viewport is 480 pixels or smaller css |
Css :: font size inline |
Css :: center input element css |
Css :: add css class c# |
Css :: animation-delay in css |
Css :: select focus none |
Css :: css chat |