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