html - 'Switching' a Tel: link on and off... Preferably CSS only -
i have read in few other posts creating tappable link phone number can done tel:
in anchor tag
i implement in responsive website.. this:
<a href="tel://1-555-555-5555">call us! <span>(555) 555-5555</span></a>
(the span tag plan use hide phone# css)
the idea on desktop see "call us! (555) 555-5555", not actual link
but when scale down mobile, see stylized link says "call us!" can click.
i'm sure there way accomplish javascript or jquery... there anyway accomplish css media queries?
note: visual styling no problem.. looking reasonable solution "switching" concept.
thanks in advance!
i think best bet add id anchor tag , through media query can hide on desktop version there no need span.
then non anchor text hide when scaled down through id in media query.
Comments
Post a Comment