css布局实现波浪纹边框效果代码
代码语言:html
所属分类:布局界面
代码描述:css布局实现波浪纹边框效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> @import url(https://fonts.googleapis.com/css?family=Montserrat); body { background-color: #FFF; color: #ffF; font-family: Montserrat, Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 1em; line-height: 2em; margin: 0; padding: 0; } .wave { display: flex; justify-content: center; align-items: center; background: linear-gradient(to bottom, sandybrown, chocolate); height: 50px; position: relative; margin-bottom: 100px; } .wave::before, .wave::after { content: ""; position: absolute; left: 0; bottom: 0; right: 0; background-repeat: repeat-x; } .wave::before { height: 10px; background-size: 20px 20px; background-image: radial-gradient(circle at 10px -5px, tr.........完整代码请登录后点击上方下载按钮下载查看
网友评论0