2カラムフレックスボックス、サンプルサイト
関連タイピング
-
プレイ回数4436長文424打
-
プレイ回数509長文590打
-
プレイ回数2753英語長文707打
-
プレイ回数118英語長文584打
-
プレイ回数8985長文956打
-
プレイ回数835短文英字201打
-
プレイ回数1902英語長文593打
-
プレイ回数2754英語長文673打
問題文
(<!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;}}