Keeping a Fullscreen Background Video “fullscreen” on Vertically Oriented Displays
TL;DR
Use JavaScript to preserve the aspect ratio. And here’s the code:
Yes and no. If i have different modules on my web app, common scenario, i will have a lot of stylesheets part that i don’t need to be always loaded.
At the same time i want to keep CSS specificity.
My suggestion is to have a big well documented main css file and others small module-specific files. This way you can have adavantages of both worlds
I’m not comfortable with this simplistic hard rule-style advice for CSS file organization (or the comparison to glass panes), as there are big concerns against single CSS files worth mentioning: Performance is worse (multiple files is the way forward with HTTP2); organization within a single file can get messy; version control can become really…