css实现简洁日期日历效果代码
代码语言:html
所属分类:布局界面
代码描述:css实现简洁日期日历效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> /* layout and background */ html, body, time, span { display: grid; } html { height: 100%; } body { background: url(//repo.bfw.wiki/bfwrepo/image/62f6f0a6e423c.png) 50%/cover; } /* relevant code */ time { grid-gap: 0.5em; /* spacing between date components */ place-self: center; /* put calendar in the middle of parent */ /* normal padding is $p * and add handle height $h for the top padding */ padding: 1.25em 0.75em 0.75em; background.........完整代码请登录后点击上方下载按钮下载查看
网友评论0