canvas三角图形生成器制作

2019-09-10 郑州网站建设  

<!DOCTYPE html>

<html >

<head>

  <meta charset="UTF-8">

 

  <title>canvas三角图形生成器</title>

<meta name="keywords" content=" canvas三角图形生成器" />

<meta name="description" content=" canvas三角图形生成器" />

      <link rel="stylesheet" href=http://www.divcss5.com/html5/"css/style.css">

 

 

</head>

 

<body>

  <div id="container" class="container">

  <div id="output" class="container">

  </div>

 

 

</div>

<div id="controls" class="controls">

</div>

 

      <script src=http://www.divcss5.com/html5/"js/index.js"></script>

 

</body>

</html>

CSS部分:

 

 

body {

  font-family: "Vidaloka", serif;

  font-smoothing: antialiased;

  font-weight: normal;

  background: #151618;

  color: #FFF;

  margin: 0;

}

 

h1 {

  text-transform: uppercase;

  letter-spacing: 4px;

  font-weight: normal;

  font-size: 16px;

}

 

p {

  line-height: 1.6em;

  text-align: center;

  font-size: 14px;

}

 

p + p {

  margin-top: 1.0em;

}

 

a {

  transition: color 0.2s ease-out;

  text-decoration: none;

  color: #FBB;

}

 

a:hover {

  color: #444;

}

 

.overlay {

  pointer-events: none;

  position: absolute;

  height: 100%;

  width: 100%;

  left: 0;

  top: 0;

}

 

.container {

  position: absolute;

  height: 100%;

  width: 100%;

}

 

 

.controls {

  font-smoothing: subpixel-antialiased;

  position: absolute;

  right: 20px;

  top: 0;

 

}

 

.links {

  position: absolute;

  list-style: none;

  width: 120px;

  bottom: 40px;

  right: 20px;

  padding: 0;

  margin: 0;

 

}

 

.links p{

  font-smoothing: subpixel-antialiased;

  font-family: 'Dosis', sans-serif;

  text-transform: uppercase;

  text-align: center;

  padding: 0.25em 0;

  letter-spacing: 2px;

  font-weight: 200;

  font-size: 10px;

  display: block;

  width: 100%;

  opacity: 0.6;

  color: #FFF;

}

 

.links li {

  border-bottom: #222 1px solid;

  border-bottom: rgba(255,255,255,0.1) 1px solid;

}

 

.links li a {

  transition: opacity 0.2s ease-out;

  font-smoothing: subpixel-antialiased;

  font-family: 'Dosis', sans-serif;

  text-transform: uppercase;

  text-align: right;

  padding: 0.25em 0;

  letter-spacing: 2px;

  font-weight: 200;

  font-size: 12px;

  display: block;

  width: 100%;

  opacity: 0.4;

  color: #FFF;

}

 

.links li a:hover {

  opacity: 0.8;

}

 

.links li .who:before {

  opacity: 0.5;

  content: '@';

  float: left;

}

 

.links li .source:before {

  opacity: 0.5;

  content: '{}';

  float: left;

}

 

.links li .b日志:before {

  opacity: 0.5;

  content: '&';


河南郑州做网站首选天择文化,我们专注郑州网站建设网站设计网站制作与开发,是中原地区专业的郑州网络公司,多年来我们一直努力,服务客户数百家,欢迎您的咨询。
本文链接:郑州网络公司http://tzchb.ieyo.com/dede/1885.html转载请标明出处,谢谢合作!
标签:
  • HTML
  • Doctype
  • !
  • Canvas
  • hea