html -
使用 CSS 在添加到购物车按钮之间添加一个
问题描述
我想在我的 woocommerce 添加到购物车按钮和数量框之间添加一个“中断”(见图 1)
我试过这段代码
.quantity::after{
content: "\a";
white-space: pre;
}
解决方案
使用显示:块;
its Displays an element as a block element (like <p>). It starts on a new line, and takes up the whole width
推荐阅读
- python - 如何从请求中获取第二个 div 元素
- firebase - 使用序列号索引写入 Firebase
- yugabyte-db - 在 YugabyteDB 中重试 SQLSTATE XX000
- linux - 如何为新的 Linux 内核提供自定义 Module.symvers?
- reactjs - RTK 查询分页和合并查询
- angular - Angular 9 ERROR SyntaxError:位置 0 处 JSON 中的意外标记 u
- python - 如何在循环中集成进度条?
- curl - jq 命令使用 curl 提供无效的有效负载
- javascript - 移除部分json内容
- xcode - SwiftUI Firestore LazyVGrid 导航随着更多元素而变慢