html2canvas/tests/cases/border/radius.html

61 lines
1.4 KiB
HTML
Raw Normal View History

2012-12-31 22:10:18 +04:00
<!DOCTYPE html>
<html>
<head>
<title>Borders tests</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="../../test.js"></script>
<style type="text/css">
div {
width: 200px;
height: 200px;
display: inline-block;
margin: 10px;
background:#6F428C;
border-style: solid;
border-radius: 50px;
}
.box1 {
border-width: 1px;
border-left-color: #00b5e2;
border-top-color: red;
border-right-color: green;
}
.box2 {
border-width: 3px;
border-left-color: #00b5e2;
border-top-color: red;
border-right-color: green;
}
.box3 {
border-width: 10px;
2013-01-02 23:26:24 +04:00
border-left-color: transparent;
2012-12-31 22:10:18 +04:00
border-top-color: red;
border-right-color: green;
}
.box4 {
border-width: 50px;
2013-01-03 20:37:27 +04:00
border-left-color: transparent;
2012-12-31 22:10:18 +04:00
border-top-color: red;
2013-01-02 23:26:24 +04:00
border-top-width: 10px;
2012-12-31 22:10:18 +04:00
border-right-color: green;
2013-01-02 23:26:24 +04:00
border-bottom-right-radius: 190px;
2013-01-03 20:37:27 +04:00
background-clip: padding-box;
2012-12-31 22:10:18 +04:00
}
html {
background: #3a84c3;
}
</style>
</head>
<body>
<div class="box1">&nbsp;</div>
<div class="box2">&nbsp;</div>
<div class="box3">&nbsp;</div>
<div class="box4">&nbsp;</div>
</body>
</html>