I'm learning to place media queries into a website for getting the correct layout changes I need on different mobile devices. I've done this in CSS and Bootstrap before, but my job is asking me to do it in an entirely JSON website.
I found a few different points in the website's style sheets that are formatted like this:
@media screen and (min-width: 1024px) {
.productgrid--outer .pagination--container,
.productgrid--outer .breadcrumbs-container {
padding-right: 0;
padding-left: 0;
}
}
Is this media query applying these padding rules to anything using the tags listed in there, like .productgrid--outer? If I'm reading this correctly, then I could make media queries using the same formatting for the tags that I need to change then. I think that's what is happening, but I've never poked with JSON before so I wanted to make sure I'm not misreading this.