css实现表情效果
代码语言:html
所属分类:布局界面
代码描述:css实现表情效果
代码标签: 效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> body, html { height: 100%; width: 100%; margin: 0; } * { box-sizing: border-box; } .emoji-box:hover ~ .emoji-box { filter: blur(3px); } .container { background-image: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%); height: 100%; display: flex; flex-flow: row wrap; justify-content: center; align-items: center; } .container .emoji-box { width: 110px; height: 110px; border-radius: 12px; margin-right: 2rem; padding: 16px; position: relative; transform: scale(1); transition: all 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67); } .container .emoji-box:hover { transform: scale(1.3); } .container .eyes { margin-top: 6px; display: flex; overflow: hidden; justify-content: space-between; align-items: center; } .container .ey.........完整代码请登录后点击上方下载按钮下载查看
网友评论0