Created
February 1, 2020 15:37
-
-
Save motsu0/1f2c7ff8aa7f955e44b0ee242f997b8c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 左カラム(固定幅)、右カラム(残りの幅) --> | |
<p>1行の場合のみなら選択肢に入るか。</p> | |
<div class="parent"> | |
parent | |
<dl class="sample4"> | |
<dt class="lc">吾輩は猫である</dt> | |
<dd class="rc">吾輩は猫である。名前はまだ無い。<br>どこで生れたかとんと見当がつかぬ。何でも薄暗いじめじめした所でニャーニャー泣いていた事だけは記憶している。</dd> | |
</dl> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.sample4{ | |
display: flex; | |
} | |
.sample4 .lc{ | |
width: 8.5em | |
} | |
.sample4 .rc{ | |
width: 0; | |
margin: 0; | |
flex-grow: 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment