분류 html

HTML로 할 수 있는 일 - Measuring progress

컨텐츠 정보

  • 조회 407 (작성일 )

본문

https://codepen.io/ananyaneogi/pen/PrKbey 


HTML : 


<h1>Progress & Meter</h1>

<progress value="56" max="100"></progress>
<meter min="0" max="100" value="56" low="25" high="75" optimum="50"></meter>



CSS : 



body {
	background-color: aliceblue;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

h1 {
	font-size: 3rem;
	color: darksla;
	font-family: "Berkshire Swash", cursive;
	text-align: center;
}

meter {
	margin-top: 20px;
	width: 150px;
}