Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Illustfolio2でスライドショーの幅を変える
/* スライダー幅 (width を任意の値に変えてください) */
.flexslider {
width: 800px;
margin-left: auto;
margin-right: auto;
}
/* ブラウザ幅1220px以上のときのスライダー幅 */
@media (min-width: 1220px) {
.flexslider {
width: 800px;
}
}
/* ここから先は変更しないでください */
@media (min-width: 768px) and (max-width: 1040px) {
.flexslider {
width: 704px;
margin-right: 10px;
margin-left: 10px;
}
}
@media (max-width: 767px) {
.flexslider {
width: auto;
margin-right: -10px;
margin-left: -10px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.