best google fonts css code example Example: use google fonts in css @import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');