登录 | 注册 | FAQ
Anonymous

strange behaviour in display

+ 发表回复

1 篇帖子 分页: 1 / 1


strange behaviour in display

ad1970india » 周日 9月 17, 2017 4:19 am

Guys this is a challenge for geeks

My css queries are as follows ( for 1920 x 1080 screen resolution)

@media screen and (min-width:1281px) {
html { width:50%; }
}

@media screen and (min-width:721px) and (max-width:1280px) {
html { width:75%; }
}

@media screen and (max-width:720px) {
html { width:100%; }
}

The problem statement
When this html is opened locally the breakpoints(2) work, no problems
but when I upload the same html on web server and open in browser, only one breakpoint works (my display behaves like 1280 x 720)
???
头像

ad1970india

  • 帖子: 1
  • 注册: 周日 9月 17, 2017 4:09 am


+ 发表回复

分页: 1 / 1