Select Page
IPad-Specific CSS

IPad-Specific CSS

IPad-Specific CSS Here’s IPad only CSS that worked for me. You might have a situation where you need to add certain styles targeting IPads only. Use this code and please let me know in comments if it worked for you. CSS File – Include Method Add this code...
CSS Media Queries for iPhone X / 8 / 8 Plus

CSS Media Queries for iPhone X / 8 / 8 Plus

Media query is a CSS technique introduced in CSS3. It is a cool way to target different screen sizes, orientations, and devices. Here are CSS Media Queries for iPhone X, 8, and 8 Plus. iPhone X, 8 and 8 Plus CSS Media Queries Media Query for iPhone X @media only...
Media Query for IPad Pro – CSS

Media Query for IPad Pro – CSS

Media Query for IPad Pro – CSS Here is Portrait and Landscape CSS media query specially designed for the iPad Pro tablet. You can directly copy and paste the media queries to your CSS file and write your styles within the {} curly braces. CSS /*...
Pointer and Touch Event Listeners – JavaScript

Pointer and Touch Event Listeners – JavaScript

The following script can be used for web app supporting pointer events and touch events. Pointer events are DOM events that are fired for a pointing device. They are designed to create a single DOM event model to handle pointing input devices such as a mouse,...
Customize HTML File Input with CSS & jQuery

Customize HTML File Input with CSS & jQuery

Custom File Input Check out the following demo with code to style file input select button as a web browser do not allow to style it directly like a div element. It’s a bit of jQuery to copy the file name and display it inside label, and some CSS to hide the...
Get the get-values from URL – jQuery

Get the get-values from URL – jQuery

Here is a function that you can use to get the get-values from URLs and can use it to manipulate web pages on document load. get-values from URL – jQuery var getUrlParameter = function getUrlParameter(sParam) { var sPageURL = window.location.search.substring(1),...