Sublime Forum

First css text in a media query after the brackets is white

#1

I’m having an issue with the first rule after the bracket after a media query. The targeted tag is white. This indicates to me there is an error in my code but I can’t seem to find it. I have checked the number of brackets and I’ve tried class names as well as tags. Within the brackets that occur after a media query that first tag is white. Is this an error with the program or should I keep looking for my error? Mary
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min–moz-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi),
only screen and (min-resolution: 2dppx)
{
header { /the word ‘header’ is white/

background-image: url(../images/banner_large_2x.jpg);

}

header a.logo {
width: 150px;
height: 85px;
top: 28px;
right: 30px;
background-image: url(…/images/logo_large.png);
background-size: 150px 85px;
}

}

0 Likes