Skip to content

Instantly share code, notes, and snippets.

@nullvariable
Last active October 20, 2019 13:12
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nullvariable/5347ffce56d9b2c50e7f4905d061c92b to your computer and use it in GitHub Desktop.
Save nullvariable/5347ffce56d9b2c50e7f4905d061c92b to your computer and use it in GitHub Desktop.
Create an image cap for Bootstrap 4 that aligns on the left side of a card
.card-img-left {
border-bottom-left-radius: calc(.25rem - 1px);
border-top-left-radius: calc(.25rem - 1px);
float: left;
padding-right: 1em;
margin-bottom: -1.25em;
}
@maddinq
Copy link

maddinq commented Nov 15, 2017

I think thats not working anymore

@jitendra-maurya0
Copy link

yes its not working still setting it on top

@SmailyCarrilho
Copy link

It's not working

@softwerator
Copy link

Thanks! It's working

@Gabitzuu
Copy link

it's not working anymore :(

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