Re: variable inside @media screen

2016-04-09 Thread Peter of the Norse
You also need a max-width or this will always be true. > On Mar 11, 2016, at 2:21 AM, Rose wrote: > > @media screen and (min-width:767px){ > Peter of the Norse rahmc...@radio1190.org -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: variable inside @media screen

2016-03-19 Thread stefania . demurtas
Actually It works, but there was somethin wrong in media query sizes. thx Rose Il giorno venerdì 11 marzo 2016 14:03:05 UTC+1, Rose ha scritto: > > Hi, > > I need to use "@media screen" to display different background image sizes. > I was able to reproduce the correct output by using this code

variable inside @media screen

2016-03-11 Thread Rose
Hi, I need to use "@media screen" to display different background image sizes. I was able to reproduce the correct output by using this code with wagtail tags: {% image block.value width-1450 as carouselimagedata %} @media screen and (min-width:1450px){ .img { background:url('{{ M