Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Block quote style help

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #147469
    vector0
    Participant

    I’m having trouble replicating this block quote style in CSS and was hoping that someone here might have some suggestions.

    The trick is to include the padding indicated by the magenta lines and the 1px divider through the centre. I’ve tried using text highlight and images for the quotation marks, but can’t figure out a way of including the padding with this method.

    Here’s the layout

    #147502
    Nishant
    Participant

    I think you want to do something like this….

    http://codepen.io/maxwbailey/pen/sulwF

    #147504
    Paulie_D
    Member

    I prefer this: http://codepen.io/Paulie-D/pen/IxKEs

    More semantic.

    #147655
    vector0
    Participant

    Thanks for the input guys – there’s just one thing, and it’s the problem that I was having originally.

    If you look at the reference pic, there are magenta lines indicating padding at the end of the first line and the start of the second.

    Is there a way you can think of to include that in your example?

    #147668
    Paulie_D
    Member

    Doubtful…you are looking to add something that is actually inside the block quote where the text wraps.

    How would one select that?

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.