---
title: "UCI-Streifen nur mit CSS bauen"
date: 2016-08-22T20:04:44+02:00
categories:
  - "Web Development"
lang: de
canonical: https://www.marcusjaschen.de/blog/2016/uci-streifen-nur-mit-css-bauen/
---

# UCI-Streifen nur mit CSS bauen



Dank des großartigen <a href="http://www.colorzilla.com/gradient-editor/">CSS-Gradient-Editors</a> von ColorZilla war es ein Leichtes, die <a href="https://de.wikipedia.org/wiki/Union_Cycliste_Internationale">UCI</a>-Streifen für einen <a href="https://files.marcusjaschen.de/dump/uci.html">Element-Hintergrund auf einer Website</a> nur mit CSS zu bauen:
<pre>.uci-stripes {

background: -moz-linear-gradient(top, #1e76bd 0%, #1e76bd 20%, #c7203c 20%, #c7203c 40%, #000000 40%, #000000 60%, #f8df00 60%, #f8df00 80%, #35b24a 80%, #35b24a 100%); /* FF3.6-15 */

background: -webkit-linear-gradient(top, #1e76bd 0%,#1e76bd 20%,#c7203c 20%,#c7203c 40%,#000000 40%,#000000 60%,#f8df00 60%,#f8df00 80%,#35b24a 80%,#35b24a 100%); /* Chrome10-25,Safari5.1-6 */

background: linear-gradient(to bottom, #1e76bd 0%,#1e76bd 20%,#c7203c 20%,#c7203c 40%,#000000 40%,#000000 60%,#f8df00 60%,#f8df00 80%,#35b24a 80%,#35b24a 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}</pre>

(<a href="http://www.colorzilla.com/gradient-editor/#1e76bd+0,1e76bd+20,c7203c+20,c7203c+40,000000+40,000000+60,f8df00+60,f8df00+80,35b24a+80,35b24a+100">Direktlink zum Editor</a>)

<img src="https://www.marcusjaschen.de/wp-content/uploads/2016/08/2016-08-22-at-20.02-1024x409.png" alt="UCI-Streifen"   class="aligncenter size-large wp-image-1708" />
