2カラムフレックスボックス、サンプルサイト
2カラムフレックスボックスのサンプルサイト
2カラムフレックスボックスのサンプルサイトです。個人練習用で作りました。
関連タイピング
-
CSSでよく使うプロパティのタイピング
プレイ回数497 英語長文584打 -
自作のハンバーガーメニューを作成しましょう!
プレイ回数4167 英語長文721打 -
基礎的なHTML
プレイ回数4213 英語54打 -
自分練習用、英語長文
プレイ回数2852 英語長文1127打 -
プレイ回数580 長文385打
-
htmlの雛形覚え用
プレイ回数1215 英語長文258打 -
JavaScript 暗記用です
プレイ回数2591 英語長文2218打 -
プログラミングでよく使う記号や構文を練習したい人向け
プレイ回数1万 長文956打
問題文
ふりがな非表示
ふりがな表示
(<!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;}}