Which CSS styling?

  1. Inline styling
  2. External CSS
  3. Styled components
  4. CSS modules
  5. Tailwind CSS
<h1 style="color:blue;">A Blue Heading</h1>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="mystyle.css">
</head>
<body>

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</body>
</html>
body {
background-color: lightblue;
}

h1 {
color: navy;
margin-left: 20px;
}

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store