css实现饼干零食背景效果代码
代码语言:html
所属分类:背景
代码描述:css实现饼干零食背景效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/reset.min.css"> <style> #snack { width: 100%; height: 100vh; background-image: radial-gradient(circle at 32% 30%, #f0e68c 2%, rgba(240,230,140,0) 2.1%), radial-gradient(circle at 33.5% 31.5%, rgba(255,69,0,0.2) 0, rgba(240,230,140,0) 3%), radial-gradient(circle at 62% 25%, #f0e68c 1.5%, rgba(240,230,140,0) 1.6%), radial-gradient(circle at 63.5% 26.5%, rgba(255,69,0,0.2) 0, rgba(240,230,140,0) 2%), radial-gradient(circle at 27% 45%, #f0e68c 1.5%, rgba(240,230,140,0) 1.6%), radial-gradient(circle at 28.5% 46.5%, rgba(255,69,0,0.2) 0, rgba(240,230,140,0) 2%), radial-gradient(circle at 72% 50%, #f0e68c 2%, rgba(240,230,140,0) 2.1%), radial-gradient(circle at 73.5% 51.5%, rgba(255,69,0,0.2) 0, rgba(240,230,140,0) 3%), radial-gradient(circle at 55% 65%, #f0e68c 1.7%, rgba(240,230,140,0) 1.8%), radial-gradient(circle at 56.5% 66.5%, rgba(255,69,0,0.2) 0, rgba(240,230,140,0) 2.5%), radial-gradient(circle at 35% 73%, #f0e68c 2%, rgba(240,230,140,0) 2.1%), radial-gradient(circle at 36.5% 74.5%, rgba(255,69,0,0.2) 0, rgba(240,230,140,0) 3%), radial-gradient(circle at 12.6% 12.6%, #ffa500 2%, rgba(255,165,0,0) 2.3%), radial-gradient(circle at top left, #dc143c 11.5%, rgba(220,20,60,0) 11.5%), radial-gradient(circle at 87.4% 12.6%, #ffa500 2%, rgba(255,165,0,0) 2.3%), radial-gradient(circle at top right, #dc143c 11.5%, rgba(220,20,60,0) 11.5%), radial-gradient(circle at 12.6% 87.4%, #ffa500 2%, rgba(255,165,0,0) 2.3%), radial-gradient(circle at bottom left, #dc143c 11.5%, rgba(220,20,60,0) 11.5%), radial-gradient(circle at 87.4% 87.4%, rgba(255,69,0,0.6) 2%, rgba(255,69,0,0) 2.3%), radial-gradient(circle at 87.4% 87.4%, #ffa500 2%, rgba(255,165,0,0) 2.2%), radial-gradient(circle at bottom right, #dc143c 11.5%, rgba(220,20,60,0) 11.5%), radial-gradient(circle at 25% 95%, #dc143c 1.5%, rgba(220,20,60,0) 2.5%), radial-gradient(circle at 37.5% 95%, #dc143c 1.5%, rgba(220,20,60,0) 2.5%), radial-gradient(circle at 50% 95%, #dc143c 1.7%, rgba(220,20,60,0) 2.7%), radial-gradient(circle at 62.5% 95%, #dc143c 1.5%, rgba(220,20,60,0) 2.5%), radial-gradient(circle at 75% 95%, #dc143c 1.5%, rgba(220,20,60,0) 2.5%), radial-gradient(circle at 25% 8%, #dc143c 1.5%, rgba(220,20,60,0) 2.5%), radial-gradient(circle at 37.5% 8%, #dc143c 1.5%, rgba(220,20,60,0) 2.7%), radial-gradient(circle at 50% 8%, #dc143c 1.7%, rgba(220,20,60,0) 2.5%), radial-gradient(circle at 62.5% 8%, #dc143c 1.5%, rgba(220,20,60,0) 2.5%), radial-gradient(circle at 75% 8%, #dc143c 1.5%, rgba(220,20,60,0) 2.5%), linear-gradient(to bottom, #dc143c 7%, rgba(220,20,60,0) 10%), linear-gradient(to bottom, #b22222 10%, rgba(178,34,34,0) 10%), linear-gradient(to bottom, #dc143c 10%, rgba(220,20,60,0) 10.........完整代码请登录后点击上方下载按钮下载查看
网友评论0