HTML
1<body> 2<div id="A"> 3<h2>Sample</h2> 4</div> 5</body>
CSS
1body{ 2 margin: 0px; 3 border: 0px; 4 padding: 0px; 5} 6 7div#A { 8 position: relative; 9 z-index: auto; 10 height: 200px; 11 background-color: #343434; 12} 13 14div#A h2 { 15 font-size: 10px; 16 color : #ffffff; 17 margin: 0; 18 position: absolute; 19 bottom: 0; 20
回答2件
あなたの回答
tips
プレビュー