Skip to content

Instantly share code, notes, and snippets.

@studiopress
Last active June 28, 2023 16:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save studiopress/1b31dd38b415b286e409e835334daf05 to your computer and use it in GitHub Desktop.
Save studiopress/1b31dd38b415b286e409e835334daf05 to your computer and use it in GitHub Desktop.
CSS to style Instagram feed.
/* Instagram
---------------------------------------------------------------------------------------------------- */
.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;
}
@Lowk77
Copy link

Lowk77 commented Aug 1, 2021

instagea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment