css实现一个可编辑输入的日记本待办事项记事本效果代码
代码语言:html
所属分类:布局界面
代码描述:css实现一个可编辑输入的日记本待办事项记事本效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> @import url("https://fonts.googleapis.com/css?family=Roboto:400,400i,700"); @import url("https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap"); body { background-color: gainsboro; margin: 0; } h1 { text-align: center; font-family: "Roboto", sans-serif; } .paper { font-family: "Patrick Hand", cursive; position: relative; line-height: 25px; box-sizing: content-box; width: 425px; height: 550px; background-color: white; margin: 0 auto; box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.2); transition: transform 0.3s, margin 0.3s; } .paper:before { content: ""; position: absolute; height: 100%; width: 2px; background: rgba(255, 0, 0, 0.3); margin-left: 48px; z-index: 2; } .paper .lines { top: 50px; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0