@charset "utf-8"; #course-main { .block-1 { height: 400px; background: #fff; .body { width: 1200px; height: 480px; margin: 0 auto; transform: translateY(100px); text-align: center; background: #eee; position: relative; .main-title { font-size: 70px; font-weight: 600; margin-bottom: 80px; color: #fff; } .btn-list { position: absolute; top: 290px; left: 50%; transform: translateX(-50%); .button { margin: 0 20px; font-weight: 600; font-size: 16px; } } } } .block-2 { text-align: center; padding-top: 250px; background: #6865FDFF; overflow: hidden; .main-title { color: #fff; font-size: 56px; font-weight: 600; margin-bottom: 40px; } .video-list { margin-bottom: 80px; .video-div { display: inline-block; width: 580px; height: 360px; margin: 0 20px; position: relative; background: #eee; .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } .name { position: absolute; bottom: 10px; right: 20px; color: #fff; font-size: 20px; font-weight: 600; line-height: 24px; cursor: pointer; border-bottom: 1px solid transparent; } .name:hover { border-bottom: 1px solid #fff; } } } .class-list { margin-bottom: 80px; .class-item { vertical-align: top; display: inline-block; width: 380px; margin: 0 15px; padding: 30px; background: #fff; position: relative; text-align: left; .new { position: absolute; right: 0; top: 0; } } } } .block-4 { background: #fff; text-align: center; padding-top: 100px; .main-title { font-size: 48px; font-weight: 600; color: #303139FF; margin-bottom: 40px; } .list { .item { width: 380px; background: rgba(255, 255, 255, 1); box-shadow: 0px 32px 44px 0px rgba(156, 183, 223, 0.14), 0px 15px 28px 0px rgba(0, 0, 0, 0.01); border-radius: 2px; padding: 30px; display: inline-block; margin: 0 15px; text-align: left; vertical-align: top; } } } .block-5 {} .block-6 {} .other-answer-carousel { padding-top: 40px; } }