div+css实现兔子胶囊开关效果代码

代码语言:html

所属分类:布局界面

代码描述:div+css实现兔子胶囊开关效果代码

代码标签: div css 兔子 胶囊 开关

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


<!DOCTYPE html>
<html lang="en" >

<head>

  <meta charset="UTF-8">
  

  
  
  
  
<style>
/* DAY STYLES*/

body{
  background: #FFDB88;
}

.the-container{
  display: block;
  position: absolute;
  width: 500px;
  height: 350px;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.c-window{
  display: block;
  position: relative;
  width: 235px;
  height: 235px;
  margin: 0 auto;
  border-radius: 100%;
  border: 8px solid #E5B97A;
  background: #8188B8; 
  box-shadow: 0px 0px 5px rgba(0,0,0,0.25) inset;
  overflow: hidden;
}

.c-window .the-sun{
  display: block;
  position.........完整代码请登录后点击上方下载按钮下载查看

网友评论0