div+css布局实现火狐效果代码
代码语言:html
所属分类:布局界面
代码描述:div+css布局实现火狐效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en-US"> <head> <title></title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <style> body { margin: 0; padding: 0; background: rgba(39, 126, 201, 0.39); overflow: hidden; } .center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(2.5); width: 500px; height: 500px; background-size: 748px 748px; background-position: center; } .art div { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 1; } .art div:nth-child(1) { -webkit-clip-path: polygon(69% 31%, 64% 38%, 59% 42%, 63% 37%, 60% 40%, 50% 44%, 52% 42%, 45% 43%, 40% 39%, 43% 43%, 36% 38%, 29% 44%, 38% 45%, 36% 44%, 45% 45%, 37% 52%, 36% 56%, 40% 51%, 38% 52%, 46% 49%, 46% 47%, 47% 49%, 45% 52%, 46% 51%, 45% 52%, 49% 56%, 47% 50%, 52% 47%, 56% 48%, 56% 44%, 56% 49%, 54% 57%, 58% 50%, 58% 56%, 60% 50%, 63% 48%, 58% 50%, 62% 47%, 67% 39%, 75% 39%, 71% 37%, 72% 37%, 71% 3.........完整代码请登录后点击上方下载按钮下载查看
网友评论0