<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
p {
width: 100px;
height: 100px;
background: seagreen;
}
.one {
width: 200px;
height: 200px;
}
.two {
border-radius: 50%;
background: skyblue;
}
.current {
width: 50px;
height: 50px;
background: lime;
}
</style>
</head>
<body>
<div id="app">
<!--
v-bind:属性="data里面的变量"
如果一个属性前面带有v-bind 说明该属性的值是变量
--
vue第一天笔记05——v-bind
最新推荐文章于 2023-11-21 10:25:26 发布