왕초보 시작반 1주차 숙제
오랜만에 코딩하니 스타일도 굉장히 지저분하게 들어갔고
줄넘김 없이 input 태그 띄우는 데도 한참 헤맸다.
복습이 중요하구나.
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Gowun+Dodum&display=swap" rel="stylesheet">
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
<title>스파르타코딩클럽 | 부트스트랩 연습하기</title>
<style>
* {
font-family: 'Gowun Dodum', sans-serif;
}
.item-area {
width: 700px;
margin: auto;
}
.item-image {
width: 600px;
margin: 30px auto 30px auto;
}
.item-info {
margin: 0 50px 15px 50px;
}
.item-headline {
font-size: 28px;
font-weight: bold;
margin-bottom: 20px;
}
.item-description {
font-size: 18px;
font-weight: normal;
margin-bottom: 30px;
}
.order-info {
height: 50px;
}
.input-box {
font-size: 15px;
width: 80%;
height: 40px;
float: right;
}
.order-button {
width: 100px;
margin: 0 300px 30px 300px;
display: block;
}
</style>
</head>
<body>
<div class="card mb-3 item-area">
<img class="card-img-top item-image"
src="https://www.seriouseats.com/thmb/EZaQnk1yjGYVIkASseEWqtFRHyc=/960x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/__opt__aboutcom__coeus__resources__content_migration__serious_eats__seriouseats.com__recipes__images__2015__05__Anova-Steak-Guide-Sous-Vide-Photos15-beauty-159b7038c56a4e7685b57f478ca3e4c8.jpg"
alt="Card image cap">
<div class="item-info">
<p class="item-headline">등심 스테이크 <text class="item-description">가격: 30,000원 / 200g</text></p>
<p class="item-description">육즙이 가득한 호주산 소고기를 정성껏 양념하여 오븐에 구워낸 등심 스테이크입니다. 올리브유와 후추, 마늘로 마리네이드하여 풍미를 더욱
살렸습니다.</p>
<p class="item-headline">주문하기</p>
<p class="order-info">주문자 성함:
<input type="text" class="form-control input-box">
</p>
<p class="order-info">수량:
<select class="custom-select custom-select-lg mb-3 input-box">
<option selected>수량을 선택하세요</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
</p>
<p class="order-info">주소:
<input type="text" class="form-control input-box">
</p>
<p class="order-info">전화번호:
<input type="text" class="form-control input-box">
</p>
</div>
<button type="button" class="btn btn-primary order-button">주문하기</button>
</div>
</body>
</html>
Author And Source
이 문제에 관하여(왕초보 시작반 1주차 숙제), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://velog.io/@talysa/스파르타코딩클럽-1주차-숙제저자 귀속: 원작자 정보가 원작자 URL에 포함되어 있으며 저작권은 원작자 소유입니다.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)