Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
i thought you could do this with css (no need for javascript).
filter: blur(5px);
but then again its only supported by safari with -webkit- prefix.
So in conclusion... Nice one! -
Bikonja23867y@theuser the 0 is still an item in the array so it's still five words, but the one with index four is the last one
-
Bikonja23867y@NotFound no, you still have 5 items, even if the last item is item 4... Count != Index
It's the same as 0 != NULL, the item at index 0 exists so you count it, you don't ignore it because it's 0. -
Bikonja23867y@NotFound so in that case it's basically saying I'll look at the numbers in octal so when you write 10 I'll actually read 12...
Well that makes about as much sense as sticking your head in a microwave oven :S -
@Bikonja Yeah, but he was just joking due to the indexes that start at zero. So he said that he count at zero like any developer, for the joke.
-
vertti4537y@NotFound Actually it would be cool to turn this into a react component too. I'd like to contribute but I don't think you need my help
-
vertti4537y@NotFound I can try and help the best I can if you push some sort of library out on GitHub. Actually it's probably gonna be really simple, maybe it'll even be enough if I sort it out and write instructions in your Readme about it
-
lastNick5777y@TyloRen was my first thought too. Maybe this rant is part of the guerrilla marketing campaign for the electronic version of CAH
-
@NotFound :hover is triggered when the mouse is over an object in case of a link. Also check the focus, visited and active state then ;)
-
@daredevil But, I still don't know what you mean in this context. You ask if it supports any CSS :hover effect ?
-
I finished the rewrite of the script: the size of the generated JS file is only 8,8kB (3,6kB when minified). I will soon publish all on GitHub. π
-
@devaditya Currently, there is no demo link, but you can download the demo on GitHub at https://github.com/Norech/...
-
There's backdrop-filter. But it only works in Safari ATM and in chrome behind a feature flag.
-
@pk359 I made a JS lib (demo HTML provided) for that, it can be found at
https://github.com/Norech/... π -
@helloworld There's also away to do it with SVGs (which in turn can be controlled by CSS) and without JS:
https://css-tricks.com/using-svg/ -
Wait... I’m still confused - I’m pro enthusiasm... but what is the purpose? This is unlikely a truly useful thing.
-
@sheriffderek That's a JS design stuff because no many browsers support blurred backgrounds.
I also made it as a library, you can see it here: https://github.com/Norech/...
I made this in HTML+JS, what do you think about it ? π
undefined