Toggle navigation
☰
HTML
CSS
Scripting
Database
<!DOCTYPE html> <html> <head> <style> /* Import the "Outfit" font from Google Fonts */ @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap'); body { font-family: 'Outfit', sans-serif; padding: 20px; } </style> </head> <body> <h1>Google Fonts via @import</h1> <p>This example uses the @import rule to load the <strong>Outfit</strong> font directly into the stylesheet.</p> </body> </html>