Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Google Fonts in Less CSS?

I'm looking for a solution to embed Google Fonts or any other custom fonts in Less CSS.

How can I embed the given font?

<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,600italic,700,700italic,900,900italic,400italic' rel='stylesheet' type='text/css'>
like image 589
user3169289 Avatar asked Apr 05 '14 05:04

user3169289


1 Answers

Try:

@import (css) url(...)

Keeps the import statement as-is on top.

like image 71
sibidiba Avatar answered Oct 04 '22 03:10

sibidiba