Skip to content

Instantly share code, notes, and snippets.

@mardr
mardr / breakpoints.blade.php
Created June 29, 2025 15:54
Display Tailwind CSS breakpoints
<div class="p-1 bg-gray-500 text-white block sm:hidden">Current breakpoint: NONE</div>
<div class="p-1 bg-amber-600 text-white hidden sm:block md:hidden">Current breakpoint: SM</div>
<div class="p-1 bg-red-600 text-white hidden md:block lg:hidden">Current breakpoint: MD</div>
<div class="p-1 bg-green-600 text-white hidden lg:block xl:hidden">Current breakpoint: LG</div>
<div class="p-1 bg-blue-600 text-white hidden xl:block 2xl:hidden">Current breakpoint: XL</div>
<div class="p-1 bg-black text-white hidden 2xl:block">Current breakpoint: 2XL</div>
@mardr
mardr / mbank_unlifting.user.js
Last active April 15, 2019 18:25
Przywraca wygląd strony transakcyjnej mbanku z przed liftingu. Do działania wymaga jednego z rozszerzeń do przeglądarki: np. Greasemonkey lub Tampermonkey.
// ==UserScript==
// @name mbank unlifting
// @description Przywraca wygląd strony transakcyjnej mbanku z przed liftingu
// @version 0.1
// @grant none
// @author mardr
// @include https://online.mbank.pl/*
// ==/UserScript==
document.documentElement.classList.remove('lifting');
@mardr
mardr / example.less
Last active February 22, 2020 16:09 — forked from brandonb927/example.less
Retina font-weight for thin fonts in HiDPI typography #less
@import "retina.less";
.body-text {
.retina-font-weight();
}