Keşfet

add 1px to responsive breakpoint variable in CSS

XFdestek

Kurucu Üye
Katılım
25 May 2014
Mesajlar
3,201
Tepkime puanı
284
Konum
Türkiye
Web sitesi
fivetu.xyz
I have a responsive medium breakpoint set to 720px. However when using the media query with min-width @media (min-width: @xf-responsiveMedium) in css there needs to be an extra 1px

If I use @media (min-width: 721px); all is fine. However I want to use the @xf-responsiveMedium variable so I don't have to edit the css if I change the responsive break point.

So what I need is a way to use the variable but 1px larger.

I had thought I had seen @media (min-width...

Lütfen içeriği görebilmek için Giriş yap yada Kayıt ol
 

Konu görüntüleyen kullanıcılar

Benzer konular

Geri
Üst Alt