纯css实现的视觉差滚动效果
代码语言:html
所属分类:视觉差异
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>No JS Parallax</title> <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Roboto'> <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Roboto+Slab'> <style> :root { font-family: 'Roboto', sans-serif; } h1,h2,h3,h4,h5,h6 { font-family: "Roboto Slab", serif; } html { height: 100%; margin: 0; padding: 0; overflow: hidden; } body { background: white; margin: 0; padding.........完整代码请登录后点击上方下载按钮下载查看
网友评论0