Nico123: Grafik mit CSS?

Hallo,

bekomme ich so eine Grafik nur mit CSS hin?

Alternativ-Text

  1. Hallo

    am einfachsten mit "background-image linear-gradient".

    Gruss

    MrMurphy

    1. Hey,

      am einfachsten mit "background-image linear-gradient".

      danke für die schnelle Antwort. Hat geklappt: http://codepen.io/anon/pen/XdPKMK

      1. @@Nico123

        Hat geklappt: http://codepen.io/anon/pen/XdPKMK

        Die Farbangabe (die für 0%) bis zum ersten color stop kannst du übrigens weglassen.

        Statt 180deg würde ich das besser lesbare Schlüsselwort to bottom verwenden:

        linear-gradient(
          to bottom,
          #161638 15%,
          #9e7507 15%,
          #9e7507 85%,
          #161638 85%
        )
        

        LLAP 🖖

        --
        “You might believe there are benefits for the developer, but first of all, you should put those behind the interest of the user.” —Stefan Tilkov
        Selfcode: sh:) fo:} ch:? rl:) br:> n4:& va:| de:> zu:} fl:{ ss:| ls:# js:|