Last active
June 28, 2023 16:17
-
-
Save studiopress/1b31dd38b415b286e409e835334daf05 to your computer and use it in GitHub Desktop.
CSS to style Instagram feed.
This file contains hidden or 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
---------------------------------------------------------------------------------------------------- */ | |
.instagram { | |
overflow: hidden; | |
} | |
.instagram .wrap { | |
border-top: 1px solid #eee; | |
margin-left: auto; | |
margin-right: auto; | |
max-width: 1280px; | |
padding-bottom: 30px; | |
padding-top: 40px; | |
text-align: center; | |
} | |
.instagram .widget-title { | |
font-family: 'Playfair Display', serif; | |
font-size: 24px; | |
font-size: 2.4rem; | |
font-style: italic; | |
margin-bottom: 20px; | |
} | |
.instagram ul { | |
display: inline-block; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
.instagram ul li { | |
float: left; | |
margin-left: 15px; | |
margin-right: 15px; | |
} | |
.instagram img { | |
height: 160px; | |
vertical-align: top; | |
width: 160px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
instagea