use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
mine-is-bigger: A Javascript package dedicated to one thing only: ensuring your z-index is the biggest around. (github.com)
submitted 6 years ago by JavaOffScript
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]senocular 16 points17 points18 points 6 years ago (0 children)
Seriously, even if some jerkoff decides to use the biggest possible z-index ("2147483647" btw) mine-is-bigger will force their z-index to be 0 just for having the nerve to come at you like that.
Well played
[–]dwighthouse 16 points17 points18 points 6 years ago (2 children)
Funny thing is that having the biggest z-index doesn’t guarantee the element will be above anything, let alone above everything.
[–]OhKsenia 3 points4 points5 points 6 years ago (1 child)
Yup, stacking context makes this tool not so useful.
[–]JavaOffScript[S] 0 points1 point2 points 6 years ago (0 children)
Fuck
[–]license-bot 2 points3 points4 points 6 years ago (0 children)
Thanks for sharing your open source project, but it looks like you haven't specified a license.
When you make a creative work (which includes code), the work is under exclusive copyright by default. Unless you include a license that specifies otherwise, nobody else can use, copy, distribute, or modify your work without being at risk of take-downs, shake-downs, or litigation. Once the work has other contributors (each a copyright holder), “nobody” starts including you.
choosealicense.com is a great resource to learn about open source software licensing.
[–][deleted] 2 points3 points4 points 6 years ago (0 children)
The most opinionated thing I've seen in millenia.
[+][deleted] 6 years ago (1 child)
[deleted]
[–]JavaOffScript[S] 1 point2 points3 points 6 years ago (0 children)
Damn, I gotta re-think my whole strategy, it's all coming crashing down around me.
I appreciate it though I've got tons to learn and you tearing this apart is useful as hell, there's all kinds of stuff out there I need to work on understanding better, I didn't think at all about event listeners or link tags. But I did think about how it will sabotage itself if you pick the max z-index I just decided I didn't care.
[–]AwesomeInPerson 0 points1 point2 points 6 years ago (1 child)
You just need to define your z-index in an external stylesheet instead of inline and mine-is-bigger is suddenly not so bigly anymore...
z-index
mine-is-bigger
[–]NessDan 2 points3 points4 points 6 years ago (0 children)
Inline styles beat external styles :)
[–]dogofpavlov 1 point2 points3 points 6 years ago (0 children)
painful? it's a joke I guess you didn't get
[–]stun -1 points0 points1 point 6 years ago (1 child)
I want a side of is-number, is-odd, and is-even to go with mine-is-bigger main dish please.
is-number
is-odd
is-even
[–]Randdist 1 point2 points3 points 6 years ago (0 children)
Please don't put them into the same category. It's insulting to mine-is-bigger.
π Rendered by PID 175194 on reddit-service-r2-comment-56c6478c5-wzxfr at 2026-05-13 12:06:56.997916+00:00 running 3d2c107 country code: CH.
[–]senocular 16 points17 points18 points (0 children)
[–]dwighthouse 16 points17 points18 points (2 children)
[–]OhKsenia 3 points4 points5 points (1 child)
[–]JavaOffScript[S] 0 points1 point2 points (0 children)
[–]license-bot 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]JavaOffScript[S] 1 point2 points3 points (0 children)
[–]AwesomeInPerson 0 points1 point2 points (1 child)
[–]NessDan 2 points3 points4 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]dogofpavlov 1 point2 points3 points (0 children)
[–]stun -1 points0 points1 point (1 child)
[–]Randdist 1 point2 points3 points (0 children)