2カラムフレックスボックス、サンプルサイト
2カラムフレックスボックスのサンプルサイト
2カラムフレックスボックスのサンプルサイトです。個人練習用で作りました。
関連タイピング
-
自作のハンバーガーメニューを作成しましょう!
プレイ回数4390 英語長文721打 -
プレイ回数14 長文860打
-
プレイ回数9 長文963打
-
自分練習用、英語長文:夢について
プレイ回数665 英語長文542打 -
パソコン整備士1級から出題
プレイ回数23 長文1149打 -
プレイ回数12 長文942打
-
プレイ回数8 長文920打
-
プレイ回数10 長文1056打
問題文
ふりがな非表示
ふりがな表示
(<!DOCTYPE html><html lang="ja"><head>)
<!DOCTYPE html><html lang="ja"><head>
(<meta charset="UTF-8">)
<meta charset="UTF-8">
(<meta name="viewport" content="width=device-width, initial-scale=1">)
<meta name="viewport" content="width=device-width, initial-scale=1">
(<link rel="stylesheet" href="css/flex.css">)
<link rel="stylesheet" href="css/flex.css">
(<title>flexbox2</title>)
<title>flexbox2</title>
(</head><body>)
</head><body>
(<div class="flexbox"><section class="main">)
<div class="flexbox"><section class="main">
(<h1>The Little Prince</h1><p>and me yes!</p></section>)
<h1>The Little Prince</h1><p>and me yes!</p></section>
(<section class="side"><h1>About</h1><p>tugi</p>)
<section class="side"><h1>About</h1><p>tugi</p>
(</section></div></body></html>)
</section></div></body></html>
(start css)
start css
(.main { background: #fcc; margin-bottom: 10px;})
.main { background: #fcc; margin-bottom: 10px;}
(.side { background: #fea; })
.side { background: #fea; }
(.main, .side {padding: 2%;border-radius: 10px})
.main, .side {padding: 2%;border-radius: 10px}
(/* Responsive */ @media ( min-width : 600px ))
/* Responsive */ @media ( min-width : 600px )
({.flexbox {display: -webkit-flex;display: flex;})
{.flexbox {display: -webkit-flex;display: flex;}
(.main {margin: 0 10px 0 0;}})
.main {margin: 0 10px 0 0;}}