div+css布局实现文本引言效果代码
代码语言:html
所属分类:布局界面
代码描述:div+css布局实现文本引言效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link href="https://fonts.googleapis.com/css?family=Abril+Fatface|Barlow+Condensed:400,400i,700,700i" rel="stylesheet"> <style> body { background-color: #292a2b; } /* center the blockquote in the page */ .blockquote-wrapper { display: flex; height: 100vh; padding: 0 20px; } /* Blockquote main style */ .blockquote { position: relative; font-family: 'Barlow Condensed', sans-serif; max-width: 620px; margin: 80px auto; align-self: center; } /* Blockquote header */ .blockquote h1 { font-family: 'Abril Fatface', cursive; position: relative; /* for pseudos */ color: #e74848; font-size: 2.8rem; font-weight: normal; line-height: 1; margin: 0; border: 2px solid #fff; border: solid 2px; border-radius:20px; padding: 25px; } /* Blockquote right double quotes */ .blockquote h1:after { content:""; position: absolute; border: 2px solid #e74848; border-radius: 0 100% 0 0; width: 60px; height: 60px; bottom: -62px; left: 50px; border-bottom: none; border-left.........完整代码请登录后点击上方下载按钮下载查看
网友评论0