Calculate percentage from pixels

good way to calculate % when you know how many pixels you want it to be…

$context: 1000px;
.sidebar {
	width: percentage(450px/$context);
}

Add your comment