Home › Forums › CSS › CSS media queries for telephone numbers › Re: CSS media queries for telephone numbers
March 29, 2013 at 4:04 pm
#130160
Pamela
Member
Hi, thanks for you help , this is the code I have in my html:
/* this is in default stylesheet, styles.css: */
.tel {
text-decoration:none;
color: #074867;
cursor:default;
}
this for the media query:
/* =Media Queries
*/
@media only screen and (max-device-width: 480px) {
.tel{
text-decoration: underline;
color: #074867;
cursor:auto;
}
}
Is the syntax correct for the media query?