div+css布局实现简洁大气的日历ui效果代码
代码语言:html
所属分类:布局界面
代码描述:div+css布局实现简洁大气的日历ui效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link href="https://fonts.googleapis.com/css?family=Kanit:300,700" rel="stylesheet"> <style> body { width: 50%; margin: 100px auto; background-color: lightgray; font-family: 'Kanit', sans-serif; } .calendar-base { width: 900px; height: 500px; border-radius: 20px; background-color: white; position: relative; z-index: -1; color: black; } .year { color: #E8E8E8; font-size: 30px; float: right; position: relative; right: 75px; top: 20px; font-weight: bold; } .triangle-left { width: 0; height: 0; border-top: 5px solid transparent; border-right: 10px solid #E8E8E8; border-bottom: 5px solid transparent; float: right; position: relative; right: 90px; top: 36px; } .triangle-right { width: 0; height: 0; border-top: 5px solid transparent; border-left: 10px solid #E8E8E8; border-bottom: 5px solid transparent; float: right; position: relative; left: 20px; top: 36px; } .triangle-left:hover{ border-right: 10px solid#2ECC71; } .triangle-right:hover{ border-left: 10px solid#2ECC71; } .month-color { color: #27AE60; } .month-hover:hover{ .........完整代码请登录后点击上方下载按钮下载查看
网友评论0