Tag Archive: css

BEM css

August 12, 2017 9:58 pm Published by Leave your thoughts

I don’t really write BEM css. Oh, in case you don’t know, BEM is a css structure/philosophy Google really likes. BEM philosophy was created to develop sites which should be launched fast and supported for a long time. It helps.....

The `:focus-within` Pseudo Class

May 16, 2017 3:42 pm Published by Leave your thoughts

Nice find by Ian Devlin: The :focus-within pseudo class becomes active when an element itself has focus or if any of its descendants does. Selecting a parent element based on children is lonnng awaited. The crown jewel of that is.....

How to use system font

August 18, 2016 1:51 am Published by Leave your thoughts

I’ve noticed that WordPress 4.6, which was release yesterday, uses system font. To clarify, “system font” isn’t really a font but the font which your OS uses. For example, if you are on Windows 10 or 7, your system font.....

Best Practices for Call to Action Buttons

July 25, 2016 8:44 pm Published by Leave your thoughts

For buttons, please use <button></button>. So many times, I see <a href> tag being misused like this. Of course this works. Buy why use it to create a fake button? Perhaps some front-end developers feel uncomfortable styling a button? Call.....

I hate mobile coding

March 16, 2013 6:12 am Published by Leave your thoughts

After sending a post I had hastily written last night, I realized that my website/blog is not accessible via mobile phones. So I started to code trying to make the site accessible. Some responsive css technique mixed with RESS. Gosh.....