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">
|
2018-01-07 14:19:55 +03:00
|
|
|
.box {
|
2012-12-31 22:10:18 +04:00
|
|
|
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
|
|
|
}
|
|
|
|
|
2014-11-04 22:40:09 +03:00
|
|
|
.box5 {
|
|
|
|
margin: 100px;
|
|
|
|
border-width: 50px;
|
|
|
|
border-left-color: transparent;
|
|
|
|
border-top-color: red;
|
|
|
|
border-top-width: 10px;
|
|
|
|
border-right-color: green;
|
|
|
|
border-radius: 25px;
|
|
|
|
background-clip: padding-box;
|
|
|
|
}
|
|
|
|
|
2015-10-18 23:15:51 +03:00
|
|
|
.box6 {
|
|
|
|
height: 200px;
|
|
|
|
width: 200px;
|
|
|
|
border-radius: 200px;
|
|
|
|
}
|
|
|
|
|
2021-05-07 12:32:51 +03:00
|
|
|
.box7 {
|
|
|
|
border-width: 10px 10px 10px 1px;
|
|
|
|
border-left-color: transparent;
|
|
|
|
border-top-color: red;
|
|
|
|
border-right-color: green;
|
|
|
|
}
|
|
|
|
|
2018-01-07 14:19:55 +03:00
|
|
|
.gauge{
|
|
|
|
display: inline-block;
|
|
|
|
width: 100px;
|
|
|
|
height: 50px;
|
|
|
|
background: green;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gauge1{ border-radius: 25px 25px 0 0 / 25px 25px 0 0; }
|
|
|
|
.gauge2{ border-radius: 100px 100px 0 0 / 50px 50px 0 0; }
|
|
|
|
.gauge3{ border-radius: 100px 100px 0 0 / 100px 100px 0 0; }
|
|
|
|
.gauge4{ border-radius: 300px 100px 0 0 / 100px 100px 0 0; }
|
|
|
|
.gauge5{ border-radius: 400px 400px 50px 50px / 50px 50px 50px 50px; }
|
|
|
|
|
|
|
|
|
2012-12-31 22:10:18 +04:00
|
|
|
html {
|
|
|
|
background: #3a84c3;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
2014-11-04 22:40:09 +03:00
|
|
|
|
2018-01-07 14:19:55 +03:00
|
|
|
<div class="box box1"> </div>
|
|
|
|
<div class="box box2"> </div>
|
|
|
|
<div class="box box3"> </div>
|
|
|
|
<div class="box box4"> </div>
|
|
|
|
<div class="box box5"> </div>
|
|
|
|
<div class="box box6"> </div>
|
2021-05-07 12:32:51 +03:00
|
|
|
<div class="box box7"> </div>
|
2018-01-07 14:19:55 +03:00
|
|
|
<div class="gauge gauge1"></div>
|
|
|
|
<div class="gauge gauge2"></div>
|
|
|
|
<div class="gauge gauge3"></div>
|
|
|
|
<div class="gauge gauge4"></div>
|
|
|
|
<div class="gauge gauge5"></div>
|
2012-12-31 22:10:18 +04:00
|
|
|
</body>
|
|
|
|
</html>
|