- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi,
I’m trying to do some simple css to make an element have a width of 50% on desktop and 100% on tablet. I can’t however seem to target it correctly.
Any advice on ways to do this will be greatly appreciated.
Thanks, Hannah
Did you try it Responsive Web Design Media Queries?
Hi, I did yes. I think the issue is how I’m selecting it. I’ve tried :
.col-3-12.col-tablet-1-3.col-phablet-1-2.col-phone-1-1.ae-9.fadeIn.half-desk-wide-tab.done li
and
.half-desk-wide-tab
Hi,
check this: https://stackoverflow.com/questions/6370690/media-queries-how-to-target-desktop-tablet-and-mobile
that css properties does not do anything without right target query.