纯css实现一个收音机布局效果
代码语言:html
所属分类:布局界面
代码描述:纯css实现一个收音机布局效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> /* Tutorials on: fossheim.io */ /* Works best in chrome */ * { padding: 0; margin: 0; box-sizing: border-box; } body { background-color: #E5C657; } .radio { display: block; width: 540px; height: 330px; margin: 150px auto 0 auto; margin: calc(50vh - 160px) auto 0 auto; border-radius: 30px; background-image: linear-gradient( 135deg, #C0BDAE, #B8B9B3, #E5E1E0 ); box-shadow: 0 0 0 8px #DCE3E0 inset, 0px 80px 60px -70px #384140; position: relative; } .speaker { display: block; width: 495px; height: 290px; position: absolute; left: 0; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0