element-plus/website/docs/es/border.md

92 lines
1.5 KiB
Markdown
Raw Normal View History

<script>
import RadiusBox from "../../components/demo/border/radius-box.vue";
import ShadowBox from "../../components/demo/border/shadow-box.vue";
const radiusGroup = [
{
name: 'No Radius',
type: ''
},
{
name: 'Small Radius',
type: 'small'
},
{
name: 'Large Radius',
type: 'base'
},
{
name: 'Round Radius',
type: 'round'
},
]
const shadowGroup = [
{
name: 'Basic Shadow',
type: 'base'
},
{
name: 'Light Shadow',
type: 'light'
}
]
export default {
components: {
RadiusBox,
ShadowBox
},
data() {
return {
radiusGroup,
shadowGroup,
}
}
}
</script>
## Border
Estandarizamos los bordes que se pueden utilizar en botones, tarjetas, pop-ups y otros componentes.
### Border
Hay pocos estilos de borde para elegir.
<table class="demo-border">
<tbody>
<tr>
<td class="text">Name</td>
<td class="text">Thickness</td>
<td class="line">Demo</td>
</tr>
<tr>
<td class="text">Solid</td>
<td class="text">1px</td>
<td class="line">
<div></div>
</td>
</tr>
<tr>
<td class="text">Dashed</td>
<td class="text">2px</td>
<td class="line">
<div class="dashed"></div>
</td>
</tr>
</tbody>
</table>
### Radius
Hay pocos estilos de radio para elegir.
<radius-box :radius-group="radiusGroup" />
### Shadow
Hay pocos estilos de sombra para elegir.
<shadow-box :shadow-group="shadowGroup" />