Tiontaire SASS go CSS

Input data
bfotool loadding
Output data
bfotool loadding

Tiontaire CSS go SASS is simplí

Ligeann an uirlis ar líne saor in aisce seo duit comhad CSS a thiontú ina chomhad SASS. Just a ghreamú do CSS san fhoirm thíos agus déanfar é a thiontú go SASS láithreach Ní gá aon bhogearraí a íoslódáil nó a shuiteáil. Saor

Conas CSS a Thiontú go SASS?

Céim 1: Roghnaigh do ionchur. Iontráil Sonraí.
Céim 2: Roghnaigh roghanna aschur (roghnach) Roghanna Aschuir.
Céim 3: Gin aschur.

Samplaí de thiontairí ó CSS ​​go SASS

CSS

.feature-url {
    background: #f7f7f7;
    text-align: center;
}
.feature-url li {
    list-style: none;
    display: inline-block;
    margin: 2px;
    border: 1px solid #e9ebee;
    text-align: center;
}
.feature-url li a {
    padding: 5px;
    color: blue;
    display: block;
    min-width: 70px;
}
.feature-url li a i {
    font-size: 20px;
}
.feature-url li a:hover {
    text-decoration: none;
    background: #e9ebee;
    color: #222;
}
.feature-url li.active a {
    background: #e9ebee;
    color: #222;
}

SASS

$color1: #f7f7f7
$color2: #e9ebee
$color3: #222222

.feature-url 
	background: @color1
	text-align: center
	li 
		list-style: none
		display: inline-block
		margin: 2px
		border: 1px solid @color2
		text-align: center
		a 
			padding: 5px
			color: blue
			display: block
			min-width: 70px
			i 
				font-size: 20px
			
			&:hover 
				text-decoration: none
				background: @color2
				color: @color3
		&.active a 
			background: @color2
			color: @color3

Cabhraíonn CSS go SASS le formáid stíl CSS a thiontú go formáid stíl SASS . Is bealach an-simplí agus éasca é CSS a athrú agus a roinnt go sonraí SASS
Is Fearr agus Slán go Oibríonn CSS go SASS go maith i Windows, Mac, Linux, Chrome, Firefox, Safari agus Edge.