css - CSS3 media query doesn't seem to be working -
I have a problem with the media query that does not work properly.
.cl-home h1 {font-family: Raleway; Status: Completed; Top: 20%; Left: 10%; Font-size: 150px; White color; Border: 1.5px solid white; Padding: 10px; @media screen and (max-width: 640px) {font-size: 80px; }} I thought that the width of the font for 640px on the inferior device, automatically change the font size to 80px Will go But nothing changes, am I doing something wrong or do not I understand how the media query works?
Media queries include selectors, not all around:
.cl-home h1 {font-family: Raleway; Status: Completed; Top: 20%; Left: 10%; Font-size: 150px; White color; Border: 1.5px solid white; Padding: 10px; } @ Media screen and (max-width: 640 px) {.cl-home h1 {font-size: 80px; }}
Comments
Post a Comment