Momentum Scrolling on iOS Devices Normally when you add overflow:scroll to an element with fixed height and width, the scroll-bar appears in desktop and mobile devices to scroll through the hidden part of the content. In iOS devices, they have momentum scrolling which...
Div Anchors Using onclick inline javascript to a location can make a div act like an anchor. <div onclick=”location.href=’url'”>content</div> jQuery: $(“div”).click(function(){...
This script works with jQuery, so please include jQuery first. This works on mobile as well as large screens. Let a div with class “bottomnavbar” be the bottom navigation bar that you want to hide and show on page scroll. Demo Open demo in a full window...
Add this CSS style to elements you want to disable text selection and highlighting on selection. Mostly we need this on buttons and dropdown where users usually go for clicks and can accidentally select text. Check out this demo below and CSS code. DEMO Open demo in a...
A lightweight, easy-to-use jQuery plugin for fluid-width video embeds. Weblink – http://fitvidsjs.com/ CDN – https://cdnjs.com/libraries/fitvids Responsive Youtube video
You must be logged in to post a comment.