纯css实现文字打字动画效果

代码语言:html

所属分类:动画

代码描述:纯css实现文字打字动画效果

代码标签: 文字 打字 动画 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">

<style>

button {
  padding: 0;
  border: none;
  outline: 0;
  cursor: pointer;
  font-size: 16px;
  background-color: transparent;
}
button:focus {
  outline: none;
}
a {
  text-decoration: none;
}
.contact-wrapper {
  position: fixed;
  right: 0;
  bottom: 80px;
  transform: translateX(100%);
  -webkit-transition: transform 0.4s ease-in-out;
  transition: transform 0.4s ease-in-out;
}
.contact-wrapper.contact-wrapper--open {
  transform: translateX(-10px);
}
.contact-panel {
  background-color: #fff;
  border: 1px solid #101845;
  max-width: 500px;
  border-radius: 4px;
  width: 100%;
  position: relative;
}
.contact-panel__header {
  position: relative;
  background-color: #101845;
  color: #fff;
  font-size: 21px;
  line-height: 16px;
  padding: 15px;
  text-align: center;
  margin: 0;
}
.contact-panel ul {
  list-style-type: none;
  padding: 15px;
  margin: 0;
  text-align: center;
}
.contact-panel ul li {
  margin: 0 10px;
  display: inline-block;
}
.contact-panel ul li a {
  border-radius: 50%;
  color: #101845;
  height: 50px;
  width: 50px;
  display: inline-block;
  line-height: 50px;
  text-decoration: none;
  box-shadow: 0 1px 2px 1px rgba(170, 170, 170, 0.2);
  -webkit-transition: box-shadow .........完整代码请登录后点击上方下载按钮下载查看

网友评论0