简体   繁体   English

我的 css html 代码有错误如何修复

[英]i have error in my css html code how fix

i need to fix Last Reviews From Customers loop list in vue.js, and i have css error :我需要在 vue.js 中修复来自客户的最后评论循环列表,并且我有 css 错误:

example image error示例图像错误

live url : https://jobdone.net/freelancer/daredevil.html实时网址: https : //jobdone.net/freelancer/daredevil.html

where im wrong ?我哪里错了?

because you have floats on items inside .comments--item div this one won't hold the height so what I would suggest is clear the floats, try the one below因为你在 .comments--item div 中的项目上有浮动,这个不会保持高度,所以我建议清除浮动,试试下面的

.comments--item:after {
    content: '';
    display: table;
    width: 100%;
    clear: both;
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM