svg实现天空背景效果代码
代码语言:html
所属分类:背景
代码描述:svg实现天空背景效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> body{ margin: 0 auto; /* background: firebrick; */ } svg { position: absolute; } </style> </head> <body translate="no"> <svg height="100%" width="100%"> <defs> <linearGradient id="grad" x1="0" x2="0" y1="0" y2="1"> <stop offset="0%" stop-color="skyblue" stop-opacity="1" /> <stop offset="70%" stop-color="skyblue" stop-opacity="0.3" /> <stop offset="100%" stop-color="skyblue" stop-opacity="0" /> </linearGradient> <filter id.........完整代码请登录后点击上方下载按钮下载查看
网友评论0