Skip to content

Instantly share code, notes, and snippets.

@marcop135
marcop135 / index.html
Last active February 23, 2024 08:23
Bootstrap 5 custom starter
View index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap demo</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
</head>
<body>
@marcop135
marcop135 / git-commit-emoji.md
Last active April 30, 2021 14:15
Git commit categories in emoji
View git-commit-emoji.md

chore = 🔧

enhancement = ✨

bugfix = 🐛

...

@marcop135
marcop135 / index.html
Last active April 15, 2021 10:50
Find global object available in any JS environments (web browsers, Node.js, web workers, etc.) — or use globalThis
View index.html
<!doctype html>
<html>
<head>
<title>What's the global object available?</title>
<script>
var getGlobal = function () {
if (typeof window !== 'undefined') {
return window; // Client-side JavaScript
}
@marcop135
marcop135 / index.html
Last active December 20, 2023 09:43
bullframe.css v4+ system-default starter
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">
<!-- bullframe.css framework https://github.com/marcop135/bullframe.css -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bullframe.css@4/dist/css/bullframe-system-default.min.css">
</head>
<body>
@marcop135
marcop135 / index.html
Last active February 9, 2022 15:42
BS5 + FA4 + Vue2 CSS/JS minified/concatened HTML template via JSDelivr CDN (add SRI and crossorigin in production)
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/combine/npm/bootstrap@5/dist/css/bootstrap.min.css,npm/font-awesome@4/css/font-awesome.min.css">
</head>
<body>
<div class="container">
View ie-css-hacks.md

IE 6

* html .ie6 {property:value;}

or

.ie6 { _property:value;}

IE 7