I am working on this wordpress style sheet.
Below code, When I resize the screen using the mouse it kicks in and show the responsiveness. But when I use the Chrome Dev tools and clicking each different device sizes it does not kick in. Also I have checked this via my mobile phone and its not showing the responsive design.
What I'm doing wrong here?
.specials{
display: flex;
//padding: 30px;
text-align: center;
@media screen and (max-width: 600px){
flex-direction: column;
}
.content{
width: 50%;
padding: 30px;
background-color: rgba($color: $primary, $alpha: 0.5);
display: flex;
flex-direction: column;
justify-content: center;
p{
line-height: 30px;
}
@media screen and (max-width: 600px){
width: 100%;
}
}
.image{
width: 50%;
//padding: 30px;
background-color: #000;
img{
max-width: 100%;
height: auto;
}
@media screen and (max-width: 600px){
width: 100%;
}
}
}
<meta name="viewport" content="width=device-width,initial-scale=1.0">
. That should help.