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

Convert LastLogon Date From Number to Date Time

We have a case where our Admins have generated a CSV file with information about…

PowerShell: Change IP of Remote Windows

# Change-IP-Remote-Windows.ps1$oldIP="192.168.40.135"$newIP="192.168.40.136"$netmask="255.255.255.0"$gateway="192.168.40.1"$dnsServers=@("10.10.8.1","10.10.18.1")function changeIpRemoteComputer{ Param ( [string]$oldIP, [string]$newIP, [string]$newSubnetMask = "255.255.255.0", [string]$newDefaultGateway, [array]$newDNS = @("8.8.8.8","4.4.2.2") )…

PowerShell: CredSSP

# Part 1: enable client mode on the local jump box $remoteComputer='SHERVER009' Enable-WSManCredSSP Client -DelegateComputer…