
简体中文
border-bottom 简写属性把下边框的所有属性:border-bottom-color,border-bottom-style 与 border-bottom-width 设置到了一个声明中。这些属性描述了元素的下边框样式。
Web | Android | iOS |
---|---|---|
4.0 | 3.9 | 4.11 |
border-bottom: <line-width> || <line-style> || <color>;
0
该 API 不支持 Web,请运行 hello uni-app x 到 App 平台体验
<template>
<view style="flex-grow: 1;">
<view>
<text>border-bottom: 5px dashed blue</text>
<view class="common" style="border-bottom: 5px dashed blue;"></view>
</view>
</view>
</template>
<script>
</script>
<style>
.common {
width: 250px;
height: 250px;
background-color: gray;
}
</style>