Monday, September 5, 2016

:focus class is sometime is ignored, but it can cause problems

If you are having problems determining the causes for your li or div tags odd behavior once you click them, make sure you check the behavior of :focus class on those elements. Maybe default behavior kicks in and makes problems for your design.


Also, if your background color acts strange, you might want to add more tags to your selector. Like

a.class1.active

instead of
class1.active


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...