首页 > 解决方案 > Move price tag from left to right

问题描述

can you please give me the right CSS snippet to move these price tags from left to right? I am very insecure with this positioning and don’t want to produce crippled code so it would be great to get some help here.

https://prnt.sc/1x10vpj

I suppose it is thie, but not 100% sure:

    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 3px 11px;
    margin: 0;
    min-width: 0;
    min-height: 0;
    line-height: 20px;
    border-radius: 50px;
    background-color: #fff;
    color: #111;
    font-weight: 700;
    font-size: 13px;
}```

Thanks and regards!

标签: tagsprice

解决方案


似乎有点不完整的问题。看看元素相对于其他 elelements 和相关 CSS 的位置会很好。

但看起来就像在 CSS 中从左到右改变一样简单。


推荐阅读