Last active
December 13, 2015 20:58
-
-
Save oneblackcrayon/4973726 to your computer and use it in GitHub Desktop.
MailChimp VCard CSS Styles.
Jump start your MailChimp VCard stylings
This file contains 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
/* starts the vcard injected tags */ | |
div.vcard {} | |
span.org {display: inline;} | |
/* by adding a margin right of 4 pixels, we fake a space in between inline items that are all in a line */ | |
span.fn {display: inline;margin-right:4px;} | |
/* hide the br tag that gets injected */ | |
div.vcard br {} | |
/* starts the address line */ | |
div.adr {display: inline;margin-right:4px;} | |
div.street-address {display: inline;margin-right:4px;} | |
div.extended-address {display: inline;margin-right:4px;} | |
span.locality {display: inline;} | |
span.region {display: inline;} | |
span.postal-code {display: inline;} | |
/* style the vcard download link */ | |
a.hcard-download {} | |
/* create your own generic rule for positioning the Rewards badge if neccessary */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment