Forums

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

Home Forums CSS [Solved] Svg Issue

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

    Hey guys I am making a new hover effect for my website re-design but ran into a minor issue, basically I wanted my button to form like a rhombus and it does the only issue is that the left side gets cut off? How can I fix this? Links below –
    http://codepen.io/ScottMarshall/pen/ByRjXy

    #193560
    Shikkediel
    Participant

    It’s the svg overflow – you could add a viewbox :

    <svg height="55" width="250" viewBox="-25 0 300 55" ...
    
    #193596
    Scott
    Participant

    @Shikkediel Thanks A Million!

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