提交 c9874128 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

update: border示例

上级 bea2f6e5
<template>
<view style="flex-grow: 1;">
<view>
<text>border: 5px dotted blue</text>
<view class="common" style="border: 5px dotted blue;"></view>
</view>
</view>
</template>
<script>
</script>
<style>
.common {
width: 250px;
height: 250px;
background-color: gray;
}
</style>
\ No newline at end of file
<template>
<view style="flex-grow: 1;">
<view>
<text>border: 5px dotted blue</text>
<view class="common" style="border: 5px dotted blue;"></view>
</view>
<view>
<text>border与background-image同时设置</text>
<view class="common"
style="border-style: solid;border-color: rgba(0, 0, 255, 0.1);background-image: linear-gradient(to right, #00ff00, #00bc79)">
</view>
</view>
</view>
</template>
<script>
</script>
<style>
.common {
width: 250px;
height: 250px;
background-color: gray;
}
</style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册