Skip to main content

Forums

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

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #296985
    Jaydot
    Participant

    Hi,
    I’m am trying to place a small css-arrow after a list-item, aligning to the right.
    This works well when the list-item is just text, but when the list-item contains a link, I just can’t get it to work…
    Is it just not possible, or is there a way??
    Pen: https://codepen.io/Jaydot/pen/GRRKbbX
    Thanks!

    #296991
    vulkanus
    Participant

    Hi,

    remove: top: 50% from .withlinks li a:after{
    add:

    margin-top:12px;
    right: 10px;
    display: inline-block;

    try it

    #297008
    Jaydot
    Participant

    @Vulkanus: ah, inline-block!! That makes a lot of difference :).
    Thank you!

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