For every project, my media-queries follow the main CSS styles in a uniform manner, as so:
/* CSS styles */
/* CSS styles */
/* CSS styles */
/* Media queries */
/* Media queries */
/* Media queries */
Currently I am using SASS, and I have a lot of partials, so I thought - why not place media queries directly in each respective partial, saving time to search back on my previous placement decisions.
Meaning, I would like to use the following CSS output from my SASS(scss):
/* CSS Styles */
/* Media queries for the above CSS*/
/* CSS Styles */
/* Media queries for the above CSS*/
/* CSS Styles */
/* Media queries for the above CSS*/
Does this affect performance? From my point of view, this would actually make the process faster in a way, e.g. > you have this class, these are the responsive styles - voila.
I have read numerous threads and posts, but there is no end formula for this.
Is this a good practice and if not - why?