What is a clearfix?

If you don’t need to support IE9 or lower, you can use flexbox freely, and don’t need to use floated layouts. It’s worth noting that today, the use of floated elements for layout is getting more and more discouraged with the use of better alternatives. display: inline-block – Better Flexbox – Best (but limited browser … Read more

Can I force a page break in HTML printing?

Add a CSS class called “pagebreak” (or “pb”), like so: Then add an empty DIV tag (or any block element that generates a box) where you want the page break. It won’t show up on the page, but will break up the page when printing. P.S. Perhaps this only applies when using -after (and also … Read more

Customize icon for “Add to home screen”

I want to specify the icon that shows in the home screen. How can i do that? You can use <link rel=”apple-touch-icon” sizes=”128×128″ href=”niceicon.png”> (yes, even for Android device). Please check iOS document for detail information on Apple devices. Please note you can even define icon for the entire website. Please check Android document for … Read more

Android WebView err_unknown_url_scheme

With the simple below code I can get my url loaded correctly, but, I get “ERR_UNKNOWN_URL_SCHEME” when trying to tap on html links that starts with mailto: whatsapp: and tg: (Telegram). Anyone can help me to fix this please? Unfortunately I do not know Java at all 🙁 Thanks.

reCAPTCHA ERROR: Invalid domain for site key

In case someone has a similar issue. My resolution was to delete the key that was not working and got a new key for my domain. And this now works with all my sub-domains as well without having to explicitly specify them in the recaptcha admin area