I'm creating a new Magento 2 theme.
I've needed to add custom CSS to I'd created 2 CSS files local-l.css and local-n.css in this location:
app/design/frontend/myvendor/mytheme/Magento_Theme/web/css
in order to test some CSS I've added this to both CSS files:
body {
background-color: red;
}
also I've added this:
<css src="css/local-m.css" />
<css src="css/local-l.css" media="screen and (min-width: 768px)"/>
to
default_head_blocks.xml
and then run this:
php bin/magento setup:static-content:deploy
also, the cache is all disabled from the backend.
I'm a theory, my page should be red but nothing is happening.
What I'm I doing wrong and how can I fix this?