scss 转换成css,如何将scss转换为css

根据@ priya_singh的评论,这里是编译的CSS代码:

* {

margin: 0;

padding: 0;

-moz-box-sizing: border-box;

-webkit-box-sizing: border-box;

box-sizing: border-box;

font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

font-size: 12px;

}

body {

text-align: center;

background-color: #34495e;

}

h1 {

font-weight: 100;

font-size: 32px;

padding: 40px;

color: #fff;

}

#breadcrumb {

list-style: none;

display: inline-block;

}

#breadcrumb .icon {

font-size: 14px;

}

#breadcrumb li {

float: left;

}

#breadcrumb li a {

color: #FFF;

display: block;

background: #3498db;

text-decoration: none;

position: relative;

height: 40px;

line-height: 40px;

padding: 0 10px 0 5px;

text-align: center;

margin-right: 23px;

}

#breadcrumb li:nth-child(even) a {

background-color: #2980b9;

}

#breadcrumb li:nth-child(even) a:before {

border-color: #2980b9;

border-left-color: transparent;

}

#breadcrumb li:nth-child(even) a:after {

border-left-color: #2980b9;

}

#breadcrumb li:first-child a {

padding-left: 15px;

-moz-border-radius: 4px 0 0 4px;

-webkit-border-radius: 4px;

border-radius: 4px 0 0 4px;

}

#breadcrumb li:first-child a:before {

border: none;

}

#breadcrumb li:last-child a {

padding-right: 15px;

-moz-border-radius: 0 4px 4px 0;

-webkit-border-radius: 0;

border-radius: 0 4px 4px 0;

}

#breadcrumb li:last-child a:after {

border: none;

}

#breadcrumb li a:before, #breadcrumb li a:after {

content: "";

position: absolute;

top: 0;

border: 0 solid #3498db;

border-width: 20px 10px;

width: 0;

height: 0;

}

#breadcrumb li a:before {

left: -20px;

border-left-color: transparent;

}

#breadcrumb li a:after {

left: 100%;

border-color: transparent;

border-left-color: #3498db;

}

#breadcrumb li a:hover {

background-color: #1abc9c;

}

#breadcrumb li a:hover:before {

border-color: #1abc9c;

border-left-color: transparent;

}

#breadcrumb li a:hover:after {

border-left-color: #1abc9c;

}

#breadcrumb li a:active {

background-color: #16a085;

}

#breadcrumb li a:active:before {

border-color: #16a085;

border-left-color: transparent;

}

#breadcrumb li a:active:after {

border-left-color: #16a085;

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值