Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing on @sass @gohugoio and design systems

Marco Pontili marcop135

🎯
Focusing on @sass @gohugoio and design systems
Block or report user

Report or block marcop135

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@marcop135
marcop135 / dark-mode-css-js.html
Last active Jan 14, 2020
Activate dark mode if 'prefers-color-scheme: dark' is supported and preferred, and/or toggle the dark mode using a button.
View dark-mode-css-js.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>HMTL template</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
/* just to see a nicer demo */
@import url("https://unpkg.com/normalize.css");
@marcop135
marcop135 / .editorconfig
Created Jan 9, 2020
Default editor config file
View .editorconfig
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
View index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>HMTL template</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.4.1/dist/css/bootstrap.min.css">
</head>
<body>
<div class="container">
You can’t perform that action at this time.