Select Page
Position: Sticky – CSS

Position: Sticky – CSS

Position Sticky Sticky positioning is a hybrid of relative and fixed positioning. The element is treated as relative positioned until it crosses a specified threshold, at which point it is treated as fixed positioned. Demo See the Pen Sticky positioning by Šime Vidas...
CSS Reset for Mobile website development

CSS Reset for Mobile website development

Here are some CSS reset codes particularly for mobile website development. This might be useful for you if you are using custom code from scratch without using any other UI frameworks like Twitter Bootstrap. CSS Reset *, :before, *:after { / suppressing the tap...
“hidden” Attribute to hide HTML elements

“hidden” Attribute to hide HTML elements

You can use this boolean attribute “hidden” to hide an element from displaying on to the webpage. This attribute can be removed by javascript during some action to display element back. More about this attribute – w3schools.com

Smooth page load script to avoid font flickering

The best way to avoid font flickering during page loads is to apply a CSS animation – fade in effect during the page load. Please have a look at the following script and include it in your CSS file or as an internal CSS:@keyframes pageFadeIn {  from {...