css实现纸张翻页悬浮页边浮起动画效果代码
代码语言:html
所属分类:悬停
代码描述:css实现纸张翻页悬浮页边浮起动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<html> <head> <style> html { background: steelblue; } .curl { width:120px; height:120px; position: absolute; top:0; left:0; background : linear-gradient( 135deg, #fff, #f3f3f3 45%, #ddd 50%, #aaa 50%, #bbb 56%, #ccc 62%, #f3f3f3 80%, #fff 100% ); box-shadow : 0 0 10px rgba(0, 0, 0, .5); transition: all .5s ease; } .curl:before, .curl:after { content: ''; position: absolute; z-index: -1; left: 12.5%; bottom: 5.8%; width: 70%; max-width: 300px; max-height: 100px; height: 55%; box-shadow: 0 12px 15px rgba(0, 0, 0, .3); transform: skew(-10deg) rotate(-6deg); } .curl:after { .........完整代码请登录后点击上方下载按钮下载查看
网友评论0