⚑ Sponsored link

⚑ Sponsored link

#Web制作メモ(自分用)

【Bootstrap】Bootstrap4 Cardメモ

投稿日:

1st EP “Morning Bless” TCWR-0214

morning_bless

iTunesなどで未配信のLove Letterを収録。
2015年8月26日発売に発売した2曲入りCD。
6P ブックレット。


01. Morning Bless
02. Love Letter
¥1080(tax in) + 送料

http://v4-alpha.getbootstrap.com/components/card/

html

<div class="card animate-box" style="margin-top:20px;">
<div class="col-lg-4 col-md-4">
<div class="card-block">
<h4 class="card-title">Card title</h4>
<h6 class="card-subtitle text-muted">Support card subtitle</h6>
</div>
<img data-src="..." alt="Card image">
<div class="card-block">
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
</div>

css

/* =======================================================
*
* card Style
* boostrap4
*
* ======================================================= */

.card {
position: relative;
display: block;
margin-bottom:.75rem;
background-color: #fff;
border-radius:.25rem;
/*border: 1px solid rgba(0,0,0,.125)*/
}
.card-block {
padding: 1.25rem
}
.card-block::after {
content: "";
display: table;
clear: both
}
.card-title {
margin-bottom:.75rem
}
.card-subtitle {
margin-top:-.375rem;
margin-bottom: 0
}
.card-text:last-child {
margin-bottom: 0
}
.card-link:hover {
text-decoration: none
}
.card-link+.card-link {
margin-left: 1.25rem
}
.card>.list-group:first-child .list-group-item:first-child {
border-top-right-radius:.25rem;
border-top-left-radius:.25rem
}
.card>.list-group:last-child .list-group-item:last-child {
border-bottom-right-radius:.25rem;
border-bottom-left-radius:.25rem
}
.card-header {
padding:.75rem 1.25rem;
background-color: #f5f5f5;
border-bottom: 1px solid rgba(0,0,0,.125)
}
.card-header::after {
content: "";
display: table;
clear: both
}
.card-header:first-child {
border-radius:.25rem .25rem 0 0
}
.card-footer {
padding:.75rem 1.25rem;
background-color: #f5f5f5;
border-top: 1px solid rgba(0,0,0,.125)
}
.card-footer::after {
content: "";
display: table;
clear: both
}
.card-footer:last-child {
border-radius:0 0 .25rem .25rem
}
.card-header-tabs {
margin-right:-.625rem;
margin-bottom:-.75rem;
margin-left:-.625rem;
border-bottom: 0
}
.card-header-pills {
margin-right:-.625rem;
margin-left:-.625rem
}
.card-primary {
background-color: #0275d8;
border-color: #0275d8
}
.card-primary .card-footer, .card-primary .card-header {
background-color: transparent
}
.card-success {
background-color: #5cb85c;
border-color: #5cb85c
}
.card-success .card-footer, .card-success .card-header {
background-color: transparent
}
.card-info {
background-color: #5bc0de;
border-color: #5bc0de
}
.card-info .card-footer, .card-info .card-header {
background-color: transparent
}
.card-warning {
background-color: #f0ad4e;
border-color: #f0ad4e
}
.card-warning .card-footer, .card-warning .card-header {
background-color: transparent
}
.card-danger {
background-color: #d9534f;
border-color: #d9534f
}
.card-danger .card-footer, .card-danger .card-header {
background-color: transparent
}
.card-outline-primary {
background-color: transparent;
border-color: #0275d8
}
.card-outline-secondary {
background-color: transparent;
border-color: #ccc
}
.card-outline-info {
background-color: transparent;
border-color: #5bc0de
}
.card-outline-success {
background-color: transparent;
border-color: #5cb85c
}
.card-outline-warning {
background-color: transparent;
border-color: #f0ad4e
}
.card-outline-danger {
background-color: transparent;
border-color: #d9534f
}
.card-inverse .card-footer, .card-inverse .card-header {
border-color: rgba(255,255,255,.2)
}
.card-inverse .card-blockquote, .card-inverse .card-footer, .card-inverse .card-header, .card-inverse .card-title {
color: #fff
}
.card-inverse .card-blockquote .blockquote-footer, .card-inverse .card-link, .card-inverse .card-subtitle, .card-inverse .card-text {
color: rgba(255,255,255,.65)
}
.card-inverse .card-link:focus, .card-inverse .card-link:hover {
color: #fff
}
.card-blockquote {
padding: 0;
margin-bottom: 0;
border-left: 0
}
.card-img {
border-radius:.25rem
}
.card-img-overlay {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
padding: 1.25rem
}
.card-img-top {
border-top-right-radius:.25rem;
border-top-left-radius:.25rem
}
.card-img-bottom {
border-bottom-right-radius:.25rem;
border-bottom-left-radius:.25rem
}
@media (min-width:544px) {

.card-deck {
display: table;
width: 100%;
margin-bottom:.75rem;
table-layout: fixed;
border-spacing: 1.25rem 0
}
.card-deck .card {
display: table-cell;
margin-bottom: 0;
vertical-align: top
}
.card-deck-wrapper {
margin-right: -1.25rem;
margin-left: -1.25rem
}
}
@media (min-width:544px) {

.card-group {
display: table;
width: 100%;
table-layout: fixed
}
.card-group .card {
display: table-cell;
vertical-align: top
}
.card-group .card+.card {
margin-left: 0;
border-left: 0
}
.card-group .card:first-child {
border-bottom-right-radius: 0;
border-top-right-radius: 0
}
.card-group .card:first-child .card-img-top {
border-top-right-radius: 0
}
.card-group .card:first-child .card-img-bottom {
border-bottom-right-radius: 0
}
.card-group .card:last-child {
border-bottom-left-radius: 0;
border-top-left-radius: 0
}
.card-group .card:last-child .card-img-top {
border-top-left-radius: 0
}
.card-group .card:last-child .card-img-bottom {
border-bottom-left-radius: 0
}
.card-group .card:not(:first-child):not(:last-child) {
border-radius: 0
}
.card-group .card:not(:first-child):not(:last-child) .card-img-bottom, .card-group .card:not(:first-child):not(:last-child) .card-img-top {
border-radius: 0
}
}
@media (min-width:544px) {

.card-columns {
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
-webkit-column-gap: 1.25rem;
-moz-column-gap: 1.25rem;
column-gap: 1.25rem
}
.card-columns .card {
width: 100%
}
}

⚑ Sponsored link

⚑ Sponsored link

⚑ Sponsored link

⚑ Sponsored link
The Charlene Morning Bless

-#Web制作メモ(自分用)
-, , ,