Posted On November 12, 2021

CSS Snippet to Target Phones, Tablets, and Desktops Separately

kimconnect 0 comments
blog.KimConnect.com >> Codes >> CSS Snippet to Target Phones, Tablets, and Desktops Separately
@media (min-width:20em)  { /* iPhones, Androids portrait 480x320 phones */ }
@media (min-width:30em)  { /* e-readers (Nook/Kindle), mini tablets 600x600 */ }
@media (min-width:40em)  { /* medium tablets, iPads, and e-readers, landscape 800x480 */ }
@media (min-width:60em)  { /* standard tablets, landscape iPads, lo-resolution laptops ands desktops */ }
@media (min-width:64em) { /* larger tablets, standard laptops, and 24" monitors */ }
@media (min-width:80em) { /* High resolution laptops and desktops */ }

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

How to Enforce Keyboard Layout Consistency for Remote Desktop

# The following function will allow the RDP session to store the user keyboard language…

PowerShell: Copying File Share Permissions from Source to Destination

# Copy-SMB-Share-Permissions.ps1 # Set some SMB Share variables $sourceSmbPath="\\FILESERVER002\Home" $destinationSmbPath="\\FILESERVER002-n\Home" $dateStamp = Get-Date -Format "yyyy-MM-dd-hhmmss"…

WordPress: Gold Price Widget CSS

Here's a sample of CSS Code to customize the display of the WordPress' Gold Pricing…