Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Marco Pontili marcop135

🎯
Focusing
View GitHub Profile
View babel.config.json
{
"presets": [
"@babel/env"
]
}
@marcop135
marcop135 / index.html
Last active Jul 14, 2020
bullframe.css cross-browser HTML template (JSDelivr CDN)
View index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>HMTL template</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- bullframe.css: use latest compiled and minified version -->
<link
View ie-css-hacks.md

IE 6

* html .ie6 {property:value;}

or

.ie6 { _property:value;}

IE 7

@marcop135
marcop135 / dark-mode-css-js.html
Last active Mar 4, 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 / index.html
Last active May 13, 2020
Bootstrap v4.5.0 HTML template (JSDelivr)
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, shrink-to-fit=no">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/css/bootstrap.min.css">
</head>
<body>
<div class="container">
You can’t perform that action at this time.