在CSS中定义了两个类,怎样调用?
.head {
color: aqua;
}
.head .two {
font-size: 36pt;
}
如果这样调用为什么不行?????
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
<link rel="stylesheet" href="1.css" />
this is test
</head>
<body>
<div class="head two"> asdfasdfasdf</div>
</body>
</html>