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

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -