Forums

Give help. Get help.

  • # November 15, 2012 at 11:31 am

    So I am trying to have a skewed edge on a div. I was disappointed to find out that the :after selector is relative to the content and not to the element itself. Unless I am doing something wrong. Am I?

    Here is the test :
    http://jsfiddle.net/ybWwR/

    Any ideas how to solve this problem?

    -Kim

    # November 15, 2012 at 11:59 am

    Here you go. http://codepen.io/anon/pen/jnGCb

    Position: absolute is one way.

    # November 15, 2012 at 12:05 pm

    That worked! Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag