M
M
MegaPuxapb2018-03-18 19:43:47
css
MegaPuxapb, 2018-03-18 19:43:47

How to make such a hover effect without js?

riccardozanutta.com
5aae971db9e16250670063.jpeg

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sanches, 2018-03-19
@MegaPuxapb

Here is an example with different colors: https://codepen.io/abnmt/pen/RMompQ

V
Vitaly Stolyarov, 2018-03-18
@Ni55aN

Lines do through :before/:after and assign them a transition and zero width
on :hover change the width of the lines

N
ni_aeronaut, 2018-03-18
@ni_aeronaut

https://codepen.io/aeronaut/pen/oqYzYj

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question