mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Fix CSS gradients fail to render when non-vendor prefix property is included #388
This commit is contained in:
@ -99,6 +99,19 @@
|
||||
/* W3C */
|
||||
background: linear-gradient(left, #cedbe9 0%, #aac5de 17%, #6199c7 50%, #3a84c3 51%, #419ad6, #26558b 100%);
|
||||
}
|
||||
.linearGradient7 {
|
||||
background: #cce5f4;
|
||||
background: -moz-linear-gradient(top, #cce5f4 0%, #00263c 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #cce5f4), color-stop(100%, #00263c));
|
||||
background: -webkit-linear-gradient(top, #cce5f4 0%, #00263c 100%);
|
||||
background: -o-linear-gradient(top, #cce5f4 0%, #00263c 100%);
|
||||
background: -ms-linear-gradient(top, #cce5f4 0%, #00263c 100%);
|
||||
background: linear-gradient(to bottom, #cce5f4 0%, #00263c 100%);
|
||||
}
|
||||
|
||||
.linearGradient8 {
|
||||
background: linear-gradient(to top left, #fff 0%, #00263c 100%);
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
@ -110,6 +123,8 @@
|
||||
<div class="linearGradient4"> </div>
|
||||
<div class="linearGradient5"> </div>
|
||||
<div class="linearGradient6"> </div>
|
||||
<div class="linearGradient7"> </div>
|
||||
<div class="linearGradient8"> </div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user