CSS - Fonts, Comment, Splitting files

·

1 min read

1/ <Changing the fonts> - via Google Font

From Google Fonts, select the font to apply on.

<title>Login Page</title>
<link href="https://fonts.googleapis.com/css2?family=Jua&display=swap" rel="stylesheet">
<style>
* {
           font-family: 'Jua', sans-serif;
       }

*=> meaning 'for every tag'

2/ <Shortcut for comments>

ctrl(command) + /

3/ <CSS - moving onto a different tab>

mystyle.css : bring everything inside <style> to a different tab

<link rel ="stylesheet" type="text/css" href = "mystyle.css">