Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blockquote style #55

Open
mhulse opened this issue Jun 14, 2016 · 0 comments
Open

Blockquote style #55

mhulse opened this issue Jun 14, 2016 · 0 comments

Comments

@mhulse
Copy link
Owner

mhulse commented Jun 14, 2016

blockquote {
    font-size: 14px;
    margin: 0;
    padding: 0;
    position: relative;
}
blockquote p {
    font-size: inherit;
    line-height: inherit;
    background: #e6e6e6;
    border-radius: 5px;
    margin: 10px 0;
    padding: 10px;
    position: relative;
}
blockquote footer {
    padding-left: 20px;
    font-weight: normal;
    letter-spacing: .05em;
    color: #888;
    position: relative;
}
blockquote footer::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #e6e6e6;
    position: absolute;
    left: 3em;
    top: -10px;
}
blockquote footer p { margin: 0; }
blockquote * { max-width: none; }
blockquote > :first-child { margin-top: 0 !important; }
blockquote > :last-child { margin-bottom: 0 !important; }
<blockquote>
    <p>“I like the Seeing Each Other exercise because it helps me feel closer to my wife.”</p>
    <footer>Macy Rodriguez <span>/ CEO, Acme Inc.</span></footer>
</blockquote>

screenshot 2016-06-14 14 27 25

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

No branches or pull requests

1 participant