问答详情
源自:3-3 优化与扩展

两个标题是怎么弄的

请问h2,h3是怎么写的

提问者:陌上出尘泪 2017-02-08 21:39

个回答

  • 慕工具人
    2017-02-09 10:25:26
    已采纳

    .slider .main .main-i .caption h2{

    font-size: 30px;

    color: #999;

    line-height: 30px;

    text-align: right;

    }

    .slider .main .main-i .caption h3{

    font-size: 40px;

    color: #333;

    line-height: 40px;

    text-align: right;

    font-family: "楷体";

    }

    .slider .main .main-i h2{

    margin-right:100px ;

    transition: all 1s ease .5s;

    }

    .slider .main .main-i h3{

    margin-right:-100px ;

    transition: all 1s ease .5s;

    }