css实现纸张右上角折叠角效果代码
代码语言:html
所属分类:布局界面
代码描述:css实现纸张右上角折叠角效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> body { background: #f8edeb; font-family: sans-serif; font-size: 18px; } .page { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; width: 300px; line-height: 1.7; } .corner { position: absolute; top: 0; right: 0; width: 3em; height: 3em; background-color: #e8e8e4; } .triangle { position: absolute; width: 0; height: 0; border-style: solid; border-width: 0 3em 3em 0; border-color: transparent #f8edeb transparent t.........完整代码请登录后点击上方下载按钮下载查看
网友评论0