html - Making the clickable area of in-line links bigger without affecting the layout -


i'm looking make clickable area of links bigger accessibility since intended users can difficult hit them. 1.5x size may appropriate. these links in normal text, cannot make them bigger mess layout.

i make use of html5, css3, js or mozilla specific features accomplish latest firefox version target, though basic css/html rather such hacks of course preferable!

one option might work use :after pseudo-element. this:

a {     position: relative } .bigger:after{     content:"";     padding: 50px;       position: absolute;     left: -25px;     top: -25px; }  

numbers tweaked like. downside can see right away if need support pre-ie8. http://caniuse.com/#feat=css-gencontent

here's fiddle.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -