css布局实现问答排行用户排行专家求助效果代码

代码语言:html

所属分类:布局界面

代码描述:css布局实现问答排行用户排行专家求助效果代码

代码标签: 问答 排行 用户 排行 专家 求助 效果

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

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <style>
        /* 公共样式表css */html,body {
            color: #333;
            margin: 0;
            height: 100%;
            font-family: "Myriad Set Pro","Helvetica Neue",Helvetica,Arial,Verdana,sans-serif;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            font-weight: normal;
        }

        * {
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
        }

        a {
            text-decoration: none;
            color: #000;
        }

        img {
            border: 0;
        }

        body {
            background: #f8f8f8;
            color: #666;
        }

        html, body, div, dl, dt, dd, ol, ul, li, h1, h2, h3, h4, h5, h6, p, blockquote, pre, button, fieldset, form, input, legend, textarea, th, td {
            margin: 0;
            padding: 0;
        }

        a {
            text-decoration: none;
            color: #08acee;
        }

        button {
            outline: 0;
        }

        img {
            border: 0;
        }

        button,input,optgroup,select,textarea {
            margin: 0;
            font: inherit;
            color: inherit;
            outline: none;
        }

        li {
            list-style: none;
        }

        a {
            color: #666;
        }

        a:hover {
            color: #eee;
        }

        .clearfix::after {
            clear: both;
            content: ".";
            display: block;
            height: 0;
            visibility: hidden;
        }

        .clearfix {}/* 必要布局样式css */.ques-section {
            width: 960px;
            margin: 0 auto 10px;
            padding: 20px;
            border-radius: 2px;
            background-color: #fff;
        }

        .ques-section-item {
            width: 293px;
            position: relative;
            float: left;
        }

        .ques-item-title {
            font-size: 18px;
            line-height: 24px;
            margin-bottom: 15px;
            font-weight: normal;
            color: #333;
        }

        .ques-section-card {
            position: relative;
            height: 424px;
            text-align: center;
            border: 1px solid #f2f2f2;
            border-radius: 2px;
  .........完整代码请登录后点击上方下载按钮下载查看

网友评论0