+ 2
Is there any easy way to what i am trying ? [Solved]
Any help is appreciated , ty. https://code.sololearn.com/WpDM2RrLPumX/?ref=app Edit: By "easy" I mean the same functionality i am getting but with less amount of css that can be used to do it and using only one div if possible.
6 ответов
+ 3
You can write this in a fewer code lines using box shadow property, such as the edited code below:
https://code.sololearn.com/WlRay252nxnS/?ref=app
+ 2
i dont know if this is any better but this is what i would do.
https://code.sololearn.com/W9Kc7S7l1AdE/?ref=app
+ 2
Clean<Code> thank you :)
0
Caleb thank you but i don't want the div to move . Also thanks for showing it could be done using borders as well !
0
Mirielle thank you but i am not really worried about that atleast for now . I just want to know if there is a way to do what i am doing but with less amount of css and if possible using only one div.