css属性书写顺序(重要)
<!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>css属性书写顺序(重要)</title>
<style>
.jdc {
display: block;
position: relative;
float: left;
width: 100px;
height: 100px;
margin: 0 10px;
padding: 20px 0;
font-size: Arial, 'Helvetica Neue', Helvetica, sans-serif;
color: #333;
background-color: rgba(0, 0, 0, .5);
border-radius: 10px;
}
</style>
</head>
<body>
<div class="jdc">CSS书写规范</div>
</body>
</html>