The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Trouble getting CSS to work
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.
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 :
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.