Saturday, September 5, 2015

CSS not being applied, CSS selector not matching elements

Whenever you have a non-working CSS code, you first must check if there's any kind of syntax error in the css itself. If there's any error in any line, CSS execution will stop on that line. This means that anything below the error line will be discarded. So, whenever you have CSS problems, remember to first check for syntax errors in CSS files. A good editor, such as Sublime, can help you out here.

No comments:

Post a Comment

Ubuntu 12.04, 14.04, 16.04 - auto start an app or script before login

To run a command or application at startup, even before the user has logged in, you can use this file: /etc/rc.local The commands entered...