HTML
1<!DOCTYPE html> 2<html lang="ja"> 3<link rel="stylesheet" type="text/css" href="sample.css"> 4 5<head> 6 <meta charset="utf-8"> 7 8 <title>質問用</title> 9</head> 10 11<div id="View1"> 12 <h4>↓Click to download↓</h4> 13 <a href="download.mp3" download><img src="download.png"></a> 14</div> 15 16</body> 17</html>
CSS
1div#View1{ 2 height:200px; 3 width: 500px; 4 border: 1px solid #FF8C00; 5 background-color: #F5F5DC; 6 margin: auto; 7 border-radius: 20px 20px 20px 20px; 8} 9 10div#View1 h4{ 11 font-family: Roboto thin; 12 font-size: 20px; 13 margin: 0; 14 text-align: center; 15 padding-top: 5px; 16 padding-bottom: 5px; 17} 18 19div#View1 img { 20 width: 50px; 21 height: 50px; 22 margin-left: auto; 23 margin-right: auto; 24}
回答2件
あなたの回答
tips
プレビュー