<div style="position: relative;"> <div style="position: absolute;width: 100%;"> <div class="hot_point_div pull-left"> <div class="hot_point_top auto_background_color2" style="width: 16px; height: 8px; left: 30px; top: 2px;"></div> <div class="hot_point_angle auto_border_top_color2" style="width: 10px; border-top-width: 20px; border-left: 10px solid transparent; border-right: 10px solid transparent; left: 28px; top: 7px;"></div> <div class="hot_point_circle auto_background_color2" style="width: 12px; height: 12px; left: 32px; top: 4px;"></div> </div> <span class="pull-left" style="padding-left: 10px;">差异过大</span> </div>用这个代码帮我实现上面所说到的标记颜色为rgba(32, 163, 191, 1)
时间: 2024-02-05 14:10:58 浏览: 119
你可以将代码中的 `.auto_background_color2` 和 `.auto_border_top_color2` 的背景颜色和边框颜色修改为 `rgba(32, 163, 191, 1)`,代码如下:
```html
<div style="position: relative;">
<div style="position: absolute;width: 100%;">
<div class="hot_point_div pull-left">
<div class="hot_point_top auto_background_color2" style="width: 16px; height: 8px; left: 30px; top: 2px;"></div>
<div class="hot_point_angle auto_border_top_color2" style="width: 10px; border-top-width: 20px; border-left: 10px solid transparent; border-right: 10px solid transparent; left: 28px; top: 7px;"></div>
<div class="hot_point_circle auto_background_color2" style="width: 12px; height: 12px; left: 32px; top: 4px;"></div>
</div>
<span class="pull-left" style="padding-left: 10px; color: rgba(32, 163, 191, 1)">差异过大</span>
</div>
</div>
```
这样就可以实现标记颜色为 `rgba(32, 163, 191, 1)` 的效果。
阅读全文