IanLunn / Hover

A collection of CSS3 powered hover effects to be applied to links, buttons, logos, SVG, featured images and so on. Easily apply to your own elements, modify or just use for inspiration. Available in CSS, Sass, and LESS.
http://ianlunn.github.io/Hover/
Other
29.25k stars 5.78k forks source link

Link background is getting stuck after click. #120

Open robzky opened 7 years ago

robzky commented 7 years ago

Hello i would like to ask how do i remove background after click on the desired element.

HTML : a class="hvr-rectangle-out" target="_blank" href="#"></a (removed < > on purpose) CSS:

.hvr-rectangle-out { background: black; &:link { text-decoration: none; } &:focus { background: black; } }

I've tried to delete :focus at hover.css file but it doesnt work. Is there any way to play this around?

(or atleast give the :focus state black color)