0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

教材を使用しHTMLを勉強してから

Posted at

ユーデミーにて教材を購入しプログラミングを始めてからいくつかプログラミングを書いてみました。
未だによく理解しているとは言えない状況ですが、教材を基に何とかHTMLで作成しました。
ここに書いたコードを記載しておきます。

HTML

ECサイトコーディング
シーズンビジュアル

Pick Up

  • おすすめの服

    おすすめの服

    6,800円

  • おすすめの服

    おすすめの服

    6,800円

  • おすすめの服

    おすすめの服

    6,800円

  • おすすめの服

    おすすめの服

    6,800円

  • おすすめの服

    おすすめの服

    6,800円

  • おすすめの服

    おすすめの服

    6,800円

もっと見る

© PROGLUS.jp

CSS

@charset "utf-8";

/common/
html {
font-size: 100%;
}

body {
font-family: Arial, Helvetica, sans-serif;
}

.wrapper {
width: 100%;
max-width: 1000px;
margin: 0 auto;
padding: 0 16px;
}

a {
text-decoration: none;
color: inherit;
transition: opacity 0.5s;
}

a:hover {
opacity: 0.7;
}

ul {
list-style: none;
}

img {
max-width: 100%;
height: auto;
}

/headre/
header .wrapper {
grid-template-columns: 1fr 1fr 1fr 1fr;
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 10px;
padding-bottom: 10px;
}

.logo {
width: 150px;
}

header form {
padding: 10px 15px;
width: 400px;
border: 1px solid #f1f1f1;
border-radius: 2em;
}

nav ul {
display: flex;
gap: 7px;
}

nav li a {
display: flex;
flex-direction: column;
font-size: 11px;
text-align: center;
}

nav li a i {
font-size: 20px;
}

/main visual/
.mv img {
width: 100%;
min-height: 250px;
object-fit: cover;
}

/goods/
.goods {
padding-top: 50px;

}
.goods ul {
padding-top: 10px;
display: grid;
/等間隔に並べる/
grid-template-columns: 1fr 1fr 1fr;
gap: 20px;
}

.goods ul li h3 {
margin-top: 5px;
font-size: 0.9rem;
}

.btn {
display: block;
margin: 50px auto;
width: 100%;
max-width: 300px;
background-color: #000;
line-height: 50px;
color: #fff;
text-align: center;
}

footer {
background-color: #040000;
color: #FFFFFF;
text-align: center;
padding: 30px 0;
}

.sns {
display: flex;
justify-content: center;
gap: 20px;
}

footer p small {
display: block;
margin-top: 20px;
}

/レスポンシブ small screen/
@media(max-width: 750px){
header form {
display: none;
}

.goods ul {
grid-template-columns: 1fr 1fr;
}
}

イメージ画像!
image6.png
image6.png
logo.png
mv.png
Something went wrong
image1.png
image2.png
image3.png
image4.png
image5.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?