押してもらえるボタン
Jimdoのログインボタン
無料ホームページを作成Jimdoのログインボタン
無料ホームページを作成左ボーダー
#left-border { border-left: solid 8px #13769d; padding: 10px; }
下ボーダー
#bottom-border { border-bottom: dotted 2px #13769d; padding: 10px; }
左と下の組み合わせ
#heading-border { border-left: solid 8px #13769d; border-bottom: dotted 2px #13769d; padding: 10px; }
This design was invented by Marcin Wichary, aresluna.org
#underline { background: linear-gradient(#555, #555) no-repeat; background-size: 100% 1px; background-position: 0 .95em; text-shadow: .15em 0 #fff, -.15em 0 #fff; }
#menu { display: flex; } #menu li { background: #000; list-style-type: none; } #menu li a { color: #fff; text-decoration: none; text-align: center; display: block; padding: 12px; } #menu a:hover { background: #aaa; }
考案者 | Chris Coyier |
---|---|
URL | css-tricks.com |
table { table-layout: fixed; width: 100%; }
width | 100% |
---|---|
display | block |
@media screen and (max-width: 900px) { table td, table th { max-width: 100%; display: block; } }
<picture> <source media="(min-width: 900px)" srcset="ry3.jpg"> <source media="(min-width: 650px)" srcset="ry2.jpg"> <img src="ry1.jpg" alt="画像のレスポンシブ切替"> </picture>
body { margin: 0; padding: 0; display: flex; flex-flow: column; min-height: 100vh; } main { flex: 1; }
#scroll-shadow { background: linear-gradient(#fff 30%, transparent), radial-gradient(at 50% 0, rgba(0, 0, 0, .2), transparent 70%); background-repeat: no-repeat; background-size: 100% 50px, 100% 15px; background-attachment: local, scroll; }
#honeycome { display: flex; justify-content: center; align-items: center; } #honeycome div { display: flex; flex-direction: column; }