tags - 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.
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!
解决方案
似乎有点不完整的问题。看看元素相对于其他 elelements 和相关 CSS 的位置会很好。
但看起来就像在 CSS 中从左到右改变一样简单。
推荐阅读
- javascript - ExpressJS/NodeJS 和面向对象编程
- postgresql - Pentaho CDE - 如何从 SQL 查询 JDBC 构建图表
- php - 自定义帖子类型在 URL 中加载带有类别的 404 页面
- azure - 在 Azure 应用程序网关中设置 SSL
- ios - 如何检测 UITextField 何时更改并触发警报?
- c# - C# SQL Server:如果文本框值> 0 或!null,如何插入表?, 使用 SqlCommand 参数作为值
- reactjs - React-Native 为一个项目设置动画并同时休息
- javascript - 查找具有相同类但排除单击的元素的所有元素?
- android - 工具栏不显示个人资料图标
- java - 尝试在聊天事件(Minecraft、Spigot)上设置玩家显示名称时出错