Materializecss is not responsive

3

A few days ago I made a template in materializecss; Today I accessed the phone and I realized that it is not getting responsive.

I'll leave some prints to clarify better:

Responsive (only when browser is down)

Nonresponsive(whenaccessedfromamobilephoneitself

Would anyone give me a glimpse of why this is happening?

    
asked by anonymous 17.12.2015 / 16:11

2 answers

3

Put the following code in the head of your HTML:

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
    
17.12.2015 / 19:04
0

Use media queries to make adjustments to certain resolutions: Ex .:

@media screen and ( max-width: 768px){
    .h2{
        font-size: 3.0em;
    }
}
    
17.12.2015 / 18:25