Avatar of burnedfaceless
burnedfaceless
 asked on

Understanding css media queries

The Samsung Galaxy S3 is 1280x720 .

On my site I have the following

<style>
            @media all and (min-width: 1024px){
     #desktophide  {display:none;}
}
      @media all and (min-width: 1024px){
      img {float:right;padding-left: 10px;}

}

@media screen and (max-device-width: 480px){
      #mobilehide {display:none;}
      
                    
}
</style>

I don't want to alter my css because it seems to fit most device perfectly. So if I wanted to target the S III (and I'm assuming they have market share so this is important)

The following wouldn't mess up the site that has rendered in a forgiving manner so far:

@media only screen
and (min-device-width : 720px)
and (max-device-width : 1280px) {
#desktophide {dispay:none;}
}
CSSResponsive Web

Avatar of undefined
Last Comment
burnedfaceless

8/22/2022 - Mon
burnedfaceless

ASKER
I'm asking because I don't want to walk back into Verizon again they'll recognize it. Best to make sure on here.
ASKER CERTIFIED SOLUTION
COBOLdinosaur

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
burnedfaceless

ASKER
They're bullshit.

Bootstrap was written by some incredible nerds but php is where it's at.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes