Switch elements position with CSS3?
With CSS3, is it possible to switch 2 elements position? I think I remember someone showing me this with items in a list but I can't seem to find the style by googeling it.
The reason I need this is im mobile optimising a site with m开发者_JAVA百科edia queries. On mobile devices my site has a 1 column layout, and currently blog images appear before the blog titles. I want these the other way around and I can't currently change the source order in the html.
Thanks
Of course. Using your media query to trigger this, you'd just set the position of the elements where you want them using any positioning property that works, including floats. But without the markup, I can't guess at what you have.
精彩评论