js实现一个视觉滚动差异页面效果代码
代码语言:html
所属分类:视觉差异
代码描述:js实现一个视觉滚动差异页面效果代码,滚动页面试试
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link href='https://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'> <style> body { margin: 0; padding: 0; background: black; color: white; } nav { position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 35px; } nav ul { list-style: none; margin: 0; padding: .2em 2em; float: right; } nav ul li { display: inline-block; margin: 0; padding: .2em .7em; } nav a { width: 100%; height: 100%; color: white; text-decoration: none; font-family: Ubuntu; font-size: 1.15em; font-weight: .........完整代码请登录后点击上方下载按钮下载查看
网友评论0