gtk/tests/css/parser/linear-gradient.css

105 lines
2.8 KiB
CSS
Raw Normal View History

a {
background-image: linear-gradient(red);
border-image-source: repeating-linear-gradient(red);
}
b {
background-image: linear-gradient(to top, red);
border-image-source: repeating-linear-gradient(to top, red);
}
c {
background-image: linear-gradient(to bottom, red);
border-image-source: repeating-linear-gradient(to bottom, red);
}
d {
background-image: linear-gradient(to left, red);
border-image-source: repeating-linear-gradient(to left, red);
}
e {
background-image: linear-gradient(to right, red);
border-image-source: repeating-linear-gradient(to right, red);
}
f {
background-image: linear-gradient(to bottom left, red);
border-image-source: repeating-linear-gradient(to bottom left, red);
}
g {
background-image: linear-gradient(to right bottom, red);
border-image-source: repeating-linear-gradient(to right bottom, red);
}
h {
background-image: linear-gradient(to top right, red);
border-image-source: repeating-linear-gradient(to top right, red);
}
i {
background-image: linear-gradient(to left bottom, red);
border-image-source: repeating-linear-gradient(to left bottom, red);
}
j {
background-image: linear-gradient(1turn, red);
border-image-source: repeating-linear-gradient(1turn, red);
}
k {
background-image: linear-gradient(-0.25turn, red);
border-image-source: repeating-linear-gradient(-0.25turn, red);
}
l {
background-image: linear-gradient(3.125deg, red);
border-image-source: repeating-linear-gradient(3.125deg, red);
}
m {
background-image: linear-gradient(90.0rad, red);
border-image-source: repeating-linear-gradient(90.0rad, red);
}
n {
background-image: linear-gradient(-100grad, red);
border-image-source: repeating-linear-gradient(-100grad, red);
}
o {
background-image: linear-gradient(red, green, blue);
border-image-source: repeating-linear-gradient(red, green, blue);
}
p {
background-image: linear-gradient(red -50%, green, blue 150%);
border-image-source: repeating-linear-gradient(red -50%, green, blue 150%);
}
q {
background-image: linear-gradient(red -50%, green, blue 150%);
border-image-source: repeating-linear-gradient(red -50%, green, blue 150%);
}
r {
background-image: linear-gradient(red 1px, green 2em);
border-image-source: repeating-linear-gradient(red 1px, green 2em);
}
s {
background-image: linear-gradient(red, green 2px, blue);
border-image-source: repeating-linear-gradient(red, green 2px, blue);
}
t {
background-image: linear-gradient(red, green, blue, purple, pink, yellow, black, orange);
border-image-source: repeating-linear-gradient(red, green, blue, purple, pink, yellow, black, orange);
}
u {
background-image: linear-gradient(red -5px, green 20em, blue, purple -42%, pink 3pt);
border-image-source: repeating-linear-gradient(red -5px, green 20em, blue, purple -42%, pink 3pt);
}