Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1380 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

@media for mobile

Thread title: @media for mobile
Reply    
    Thread tools Search this thread Display Modes  
09-05-2014, 11:19 PM
#1
insub2 is offline insub2
Status: Member
Join date: Jun 2007
Location:
Expertise:
Software:
 
Posts: 136
iTrader: 1 / 100%
 

insub2 is on a distinguished road

Send a message via AIM to insub2

  Old  @media for mobile

i'm getting stuck on media queries.

i made a test page: http://sandbox.insubstudios.com/width.html

but my phone says it's with is 980px.

what's going on?

Reply With Quote
04-17-2015, 09:01 PM
#2
Sw1tch is offline Sw1tch
Sw1tch's Avatar
Status: I'm new around here
Join date: Nov 2006
Location: Austin, TX
Expertise: Front end development
Software: Sublime Text 2, Photoshop
 
Posts: 3
iTrader: 0 / 0%
 

Sw1tch is on a distinguished road

  Old

Your code translates to:

Larger than 320px, red.
Larger than 480px, pink.
Exactly 980px, gold.

I doubt your phone or any other device is going to render at exactly 980px wide.

Here is a CodePen that shows gold when greater than 980px.

http://codepen.io/anon/pen/qdWqwy

Reply With Quote
Reply    


Currently Active Users Viewing This Thread: 3 (0 members and 3 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed