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

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -