angular实现开关切换按钮点击效果代码
代码语言:html
所属分类:其他
代码描述:angular实现开关切换按钮点击效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link rel='stylesheet' href='//fonts.googleapis.com/icon?family=Material+Icons'> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/angular-material.min.css"> <style> /*===================================== = SWITCH STYLES = ======================================*/ body { background-color: #4085ee; } body > div { position: relative; width: 100%; height: 100%; } #page { position: relative; width: 100%; height: 100%; display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; -webkit-align-items: center; align-items: center; } .switch input { display: none; visibility: hidden; opacity: 0; } .switch .s_wrapper { position: relative; background-color: #1e59af; width: 120px; height: 60px; -moz-border-radius: 40px; -webkit-border-radius: 40px; border-radius: 40px; } .switch .s_wrapper form { position: relative; width: 1.........完整代码请登录后点击上方下载按钮下载查看
网友评论0