跟着up主码小渣学习(无改动)
效果
HTML:
<!doctypehtml>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>mousedown!</title>
<link rel="stylesheet" href="mousedown.css">
</head>
<body>
<div class="main" >
<div class="item">
<div class="info">
<h3>use what you have</h3>
<p>by Angela Ducan <a href="#">
view on more</a></p>
</div>
</div>
<div class="item">
<div class="info">
<h3>use what you have</h3>
<p>by Angela Ducan <a href="#">
view on more</a></p>
</div>
</div>
<div class="item">
<div class="info">
<h3>use what you have</h3>
<p>by Angela Ducan <a href="#">
view on more</a></p>
</div>
</div>
</div>
</body>
</html>
CSS:
*{
margin: 0;
padding