Last active
October 4, 2020 21:25
-
-
Save MuoTK/21126b5021a90de3cc5e2ec89380dc10 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Progate</title> | |
<link rel="stylesheet" href="stylesheet.css"> | |
</head> | |
<body> | |
<!-- ここからHTMLを書き始めてください --> | |
<div class="header"> | |
<div class="header-logo">Progate</div> | |
<div class="header-list"> | |
<ul> | |
<li>プログラミングとは</li> | |
<li>学べるレッスン</li> | |
<li>お問い合わせ</li> | |
</ul> | |
</div> | |
</div> | |
<div class="main"> | |
<h1>HELLO WORLD<spna>.</spna></h1> | |
<h2>プログラミングの世界へようこそ</h2> | |
<div class="contents"> | |
<h3 class="content-title">学べるレッスン</h3> | |
<div class="content"> | |
<img src="https://s3-ap-northeast-1.amazonaws.com/progate/shared/images/lesson/html/study/html.svg"> | |
<p>HTML & CSS</p> | |
</div> | |
<div class="content"> | |
<img src="https://s3-ap-northeast-1.amazonaws.com/progate/shared/images/lesson/html/study/php.svg"> | |
<p>PHP</p> | |
</div> | |
<div class="content"> | |
<img src="https://s3-ap-northeast-1.amazonaws.com/progate/shared/images/lesson/html/study/ruby.svg"> | |
<p>Ruby</p> | |
</div> | |
<div class="content"> | |
<img src="https://s3-ap-northeast-1.amazonaws.com/progate/shared/images/lesson/html/study/swift.svg"> | |
<p>Swift</p> | |
</div> | |
</div> | |
<div class="contact"> | |
<h3 class="contact-title">お問い合わせ</h3> | |
<p>メールアドレス(必須)</p> | |
<input> | |
<p>お問い合わせ内容(必須)</p> | |
<textarea></textarea> | |
<p class="hoge">※必須項目は必ずご入力ください</p> | |
<input class="contact-submit" type="submit" value="送信"> | |
</div> | |
</div> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* CSSのリセット(消さないでください) */ | |
html, body, | |
ul, ol, li, | |
h1, h2, h3, h4, h5, h6, p, | |
form, input, div { | |
margin: 0; | |
padding: 0; | |
} | |
body { | |
font-family: "Avenir Next", "Hiragino Kaku Gothic ProN W3", sans-serif; | |
} | |
li { | |
list-style: none; | |
} | |
/* ここからCSSを記述してください */ | |
.header { | |
background-color: #26d0c9; | |
color: #fff; | |
height: 90px; | |
} | |
.header-logo { | |
float: left; | |
padding: 20px 40px; | |
font-size: 36px; | |
} | |
.header-list { | |
float: left; | |
} | |
.header-list li { | |
float: left; | |
padding: 33px 20px; | |
} | |
.main { | |
padding: 100px 80px; | |
} | |
.main h1 { | |
font-size: 140px; | |
} | |
.main spna { | |
color: #ff4a4a; | |
} | |
.main h2 { | |
font-size: 60px; | |
} | |
.content { | |
float: left; | |
padding-right: 40px; | |
} | |
.content-title { | |
font-size: 28px; | |
border-bottom: 2px solid #dee7ec; | |
padding-top: 100px; | |
padding-bottom: 15px; | |
margin-bottom: 50px; | |
} | |
.content p { | |
padding-top: 30px; | |
/*padding-bottom: ;*/ | |
font-size:24px; | |
} | |
.contact-title { | |
border-bottom: 2px solid #dee7ec; | |
font-size: 28px; | |
padding-bottom: 15px; | |
margin-bottom: 50px; | |
} | |
input, textarea { | |
width: 400px; | |
margin: 10px 20px; | |
border: 1px solid #dee7ec; | |
} | |
.hoge { | |
padding-top: 30px; | |
} | |
.contact-submit { | |
font-size: 18px; | |
color: #889eab; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment