I am a tall (1,95m) coding & drawing enthusiast that likes all type of coding and drawing cartoons. I like to work (coding & drawing) on the go with my surface
#cypress #js #csharp
Hello, I am Antonio and I live in Milan Italy ๐ I am a developer ๐ท who enjoy build web apps ๐
Sometimes I build small videogames ๐พ I also like time traveling ๐ฐ๏ธ
Hello, I am Antonio and I live in Milan Italy ๐ I am a developer ๐ท who enjoy build web apps ๐
Sometimes I build small videogames ๐พ I also like time traveling ๐ฐ๏ธ
You can also use a container around selectable text and set it to position: relative: z-index: 1 to bring it above the link click area ;) It removes the text from being part of the click area but I would suggest selectable text is a higher priority and you still get the benefit of the rest of the card becoming clickable.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice. Did not know the trick to expand the clickable area!
It's my favourite thing, so useful!
Nice trick!
btw I'd avoid to overlap other texts otherwise they become unselectable
True! This is a big downside to using before
In that case maybe it's better to wrap the whole element in a
a
tag :)You can also use a container around selectable text and set it to
position: relative: z-index: 1
to bring it above the link click area ;) It removes the text from being part of the click area but I would suggest selectable text is a higher priority and you still get the benefit of the rest of the card becoming clickable.