highlight多种语言与主题示例代码

代码语言:html

所属分类:其他

代码描述:highlight多种语言与主题示例代码

代码标签: 主题 示例

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开


<!DOCTYPE html>
<html lang="en" >

<head>

  <meta charset="UTF-8">
  


  <link rel='stylesheet' href='//repo.bfw.wiki/bfwrepo/js/styles/dracula.min.css'>
  
<style>
body, html {
  background: #F3F5FF;
  font-family: "Roboto", sans-serif;
}

* {
  box-sizing: border-box;
}

.Container {
  width: 500px;
  border-radius: 6px;
  position: relative;
  background: #282B36;
  margin: 60px auto 0 auto;
  box-shadow: 0 10px 40px 0 rgba(40, 43, 54, 0.3);
}
.Container nav {
  top: 15px;
  left: 15px;
  position: absolute;
}
.Container nav a {
  z-index: 2;
  color: #A5AAAF;
  font-size: 13px;
  padding: 5px 8px;
  border-radius: 4px;
  display: inline-block;
  text-decoration: none;
}
.Container nav a:hover, .Container nav a.active {
  color: white;
}
.Container nav .current {
  top: 0;
  left: 0;
  z-index: 0;
  width: 40px;
  height: 22px;
  border-radius: 3px;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.2);
}

.Container .Contents {
  width: 100%;
  display: flex;
  overflow: hidden;
  align-items: flex-start;
}

.Container .Content {
  width: 100%;
  flex-shrink: 0;
  color: #FFFFFF;
  font-size: 15px;
  line-height: 24px;
  padd.........完整代码请登录后点击上方下载按钮下载查看

网友评论0