Category: Misc
Tips, Scripts, Tools, Bookmarks, and Inspiration for Web Designers and Developers.
How to add StatCounter code to AMP pages?
Default code does not work well on AMP pages and due to the presence of <script> tag, it can make the page not fit for AMP – Accelerated Mobile Pages Project by Google. So to add the following StatCounter code with changed PROJECT_ID and SECURITY_CODE...
Right to Left Web Design
right to left web design Here are some resource regarding Right to Left website design and development. Steps to create CSS rules Create a new rtl.css file and put all rtl.css rules inside it.html[dir=”rtl”] .selector{ new css rules }fix margin, padding,...
JavaScript – detect scroll to bottom inside an element or a document
Hello there, I am trying to create these demos with JavaScript code to detect whether the user has reached the bottom of a page or inside a scrollable div element with some height. Demo screenshot Detect when scrolled to the bottom of the page or a document Open demo...
Color Theory – Psychology of colors – Web Design
Primary Colors Colors which are unique, we can mix these colors to produce all other colors. Hue, Saturation & Lightness / Brightness Psychology of colors Color – Red Represents passion, love Use of red color in a website Use of red color in a website Color...
Blog