什么是供应商特定标记

时间:2018-01-21 16:32:06

标签: css css3 web

我正在将WEB站点作为Univerity的任务。我的代码应该符合细节规则。其中之一是: CSS代码必须根据CSS 2.1规范开发,并且必须使用CSS验证器(http://jigsaw.w3.org/css-validator)进行验证。也可以使用稳定的CSS3属性,但不应使用特定于供应商的标记。我不明白究竟是什么意思 供应商特定标记 。我的代码是否适合这些参数?

#username , #password{
   width: 30%;
   border: 2px solid #ccc;
   border-radius: 4px;
   font-size: 16px;
   padding-left: 5%;
   padding-right: 5%;
   padding-top: 12px;
   padding-bottom: 12px;
   /* padding: 12px 20px 12px 40px; */
   -webkit-transition: width 0.4s ease-in-out;
   transition: width 0.4s ease-in-out;
}



@media only screen and (max-width:800px) {
    #username , #password{
        width: 80%;
        padding-left:12px;
        margin-left: 5%;
        margin-right: 15%;
        -webkit-transition: none;
        transition: none;
    }
    #username , #password:focus{
        width: 80%;
    }
    .label{
        padding-left: 5%;
        padding-bottom: 5px;
        padding-top: 5px;
        display: block;
    }

}

0 个答案:

没有答案
相关问题