2カラムフレックスボックス、サンプルサイト

関連タイピング
-
プレイ回数1004短文英字117打
-
htmlの雛形覚え用
プレイ回数590英語長文258打 -
html DOM要素
プレイ回数513英語長文285打 -
HTMLのタグを打とう!
プレイ回数749短文90秒 -
2022.12.14:プロパティを削除・追加。
プレイ回数2874英語90秒 -
webクリエイター試験上級までカバー
プレイ回数5720長文英字1629打 -
css 3 暗記用です。
プレイ回数1039英語長文1146打 -
自分練習用、英語長文:夢について
プレイ回数521英語長文542打
問題文
(<!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;}}