mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:47:34 +00:00
Base: Add linear-gradient + background-size demo
This commit is contained in:
parent
4b9c0aac7a
commit
ff6f56ef7a
1 changed files with 7 additions and 0 deletions
|
@ -95,6 +95,11 @@
|
|||
.grad-webkit {
|
||||
background-image: -webkit-linear-gradient(top right, yellow, black, yellow, black);
|
||||
}
|
||||
|
||||
.grad-15 {
|
||||
background-image: linear-gradient(to top left, red, green, blue);
|
||||
background-size: 30px 30px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -120,6 +125,8 @@
|
|||
<div class="rect grad-12"></div>
|
||||
<div class="rect grad-13"></div>
|
||||
<div class="rect grad-14"></div>
|
||||
<b>With background size:</b><br>
|
||||
<div class="rect grad-15"></div>
|
||||
<b>A webkit gradient</b><br>
|
||||
<div class="box grad-webkit"></div>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue