FreeHostia Forums https://forum.freehostia.com/ |
|
How to swap element position using Css? https://forum.freehostia.com/viewtopic.php?f=8&t=66215 |
Page 1 of 1 |
Author: | SuomyNona [ Tue Mar 29, 2022 10:59 am ] |
Post subject: | How to swap element position using Css? |
Hi I want to change the position of two elements using CSS. The structure of my website is as follows and it show up del ins. <span class="main-price"> <del aria-hidden="true"> <span class="price"> </del> <ins> <span class="price"> </ins> </span> No CSS is applied to these elements. So I applied CSS like below. .main-price{ text-align: left; display: inline-flex; flex-direction: column-reverse; } However, this will place the two elements vertically as shown below. ins del So I re-applied the below css, still no change. .ins{ display:inline; } I've tried many times other than that, but no matter what I do, it doesn't show up as ins del. Can someone give me some advice on what omegle voojio to do? |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |