Created
December 16, 2016 06:18
-
-
Save aloerina01/5d02ad119136163505d082eb1a77db31 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
.image-grid { | |
text-align: justify; | |
text-align-last: justify; | |
} | |
.image-grid-item { | |
display: inline-block; | |
} |
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
<ul class="image-grid"> | |
<li class="image-grid-item">...(省略)...</li> | |
<li class="image-grid-item">...(省略)...</li> | |
<li class="image-grid-item">...(省略)...</li> | |
<li class="image-grid-item">...(省略)...</li> | |
<li class="image-grid-item">...(省略)...</li> | |
<li class="image-grid-item">...(省略)...</li> | |
<li class="image-grid-item">...(省略)...</li> | |
<li class="image-grid-item">...(省略)...</li> | |
<li class="image-grid-item">...(省略)...</li> | |
<li class="image-grid-item">...(省略)...</li> | |
<li class="image-grid-item">...(省略)...</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment