0
I am developing a site using the MVC standard, I would like to know if it is possible to use a different CSS in each view. If so, how?
0
I am developing a site using the MVC standard, I would like to know if it is possible to use a different CSS in each view. If so, how?
0
<link rel="stylesheet" media="screen and (max-width: 700px)" href="arquivo.css">
I’m not sure if this is what you’re looking for, but that way the CSS only loads if the width meets the particular requirement.
Browser other questions tagged css html5 mvc
You are not signed in. Login or sign up in order to post.
Which framework is using?
– Marcelo Gomes
I’m not using any framework, I just created the controllers, views and models with php and Html5, I make some calls using autoload and call the pages with php functions inside a page called template
– Pablo Abreu
This "template" page uses a css, but the pages I’m going to call would need another css, only they automatically load the css from the template page
– Pablo Abreu
Just add the css of each view inside it, just like you would with. js files ...
– Leandro Angelo