摘要:
mg的src可以通过content改变鼠标hover时的图片路径 <img class="import_img create" src="@/assets/add_icon.png" alt=""/> .titleButton:hover .create{ content: url("../../a 阅读全文
摘要:
实例 指定每个 p 元素匹配同类型中的倒数第 2 个同级兄弟元素背景色: p:nth-last-child(2) { background:#ff0000; } 阅读全文
摘要:
业务场景:查询时将指定类型的表数据排在最前或最后,并根据多个字段排序 思路:使用 case when 语句自定义排序规则,该语句也可用于数据替换 自定义排序: SELECT id, type, county_codeFROM tablenameORDER BYCASE type WHEN 2 THE 阅读全文