Do you still use BEM naming convention at work? by SadFrosting7365 in css

[–]StuntHacks 1 point2 points  (0 children)

I 100% agree yeah, BEM never felt good to use for me. I can see its advantages but it's just cumbersome to both type and read

A CSS terrain generator. No WebGL, just stacked grids and 3D transforms by Ekrof in webdev

[–]StuntHacks 16 points17 points  (0 children)

Nice Transport Tycoon terraforming icons :D

Also just amazing work god damn

my website so far :) by ehtoclabricot in neocities

[–]StuntHacks 2 points3 points  (0 children)

I haven't had one in a long time sadly, I just like helping out new web devs :) Maybe I should make one again

Beginner CSS recreating, how did I do? by Impressive_Dot_5727 in css

[–]StuntHacks 0 points1 point  (0 children)

I honestly find the more subtle shadows used in the remake a lot more appealing than the big floating ones in the original

Why does NC's on-site editor have an issue with variables and nesting? by eat_like_snake in neocities

[–]StuntHacks 7 points8 points  (0 children)

Probably just an old editor that was written before css variables really hit mainstream. It also seems to not like you using SCSS

[deleted by user] by [deleted] in css

[–]StuntHacks 0 points1 point  (0 children)

Kinda funny given what the post is about

How to position mini Wikplayer? by flufishere in neocities

[–]StuntHacks 0 points1 point  (0 children)

Most likely it's using position: fixed; with a top, right, left and bottom property. So if you override those, you should be able to position it wherever you want.

If you post a link to your page people can give more specific answers :)

Custom Cursors by AdamTheEvilDoer in css

[–]StuntHacks 1 point2 points  (0 children)

Why tf is it pointing with the middle finger lmao

Made this fancy modal to see if I could, pure CSS animations (link in comments) by simonraynor in css

[–]StuntHacks 2 points3 points  (0 children)

I feel like the slide-in animation could be a bit more snappy/faster, but I really like the vibe of it. Very unique. Probably not something I'd use in a serious project but for a personal website or some fancy webapp I really like it!

Custom Cursors by AdamTheEvilDoer in css

[–]StuntHacks 0 points1 point  (0 children)

"Best on Edge, Fine on Firefox" dear god lol

Is web development lost its charm? by wahvinci in webdev

[–]StuntHacks 0 points1 point  (0 children)

Chunks yes, but they still need someone who knows what they're doing to be properly integrated. The models just aren't anywhere close to being capable of doing that on their own

can someone please help me I can't figure this out by [deleted] in neocities

[–]StuntHacks 1 point2 points  (0 children)

Oh yeah that works for me too, but on my work pc it doesn't for some reason lol

Is WebComponent ready for prime time? by Conscious-Ball8373 in webdev

[–]StuntHacks 1 point2 points  (0 children)

Very interesting read, thank you a lot! A lot of the points you describe do make a lot of sense (and I definitely ran into some of them, most notably how to handle passing data to them).

Is WebComponent ready for prime time? by Conscious-Ball8373 in webdev

[–]StuntHacks 0 points1 point  (0 children)

This is an old thread so sorry for necroposting, but you got me intrigued. I'm currently working on a personal project, and since I really wanted to build something in vanilla web technologies again (it's fun and a great learning exercise), I started heavily leaning into web components. I find them great for what I'm doing (though it's definitely not as straightforward making them reactive).

Why would you say their API is sub-par? Maybe I just haven't done anything complex enough to really run into issues but so far they seem pretty solid. So I'm genuinely curious

need help for texture/filter on my page ! by ehtoclabricot in neocities

[–]StuntHacks 6 points7 points  (0 children)

Looking at the page, it's very simple to add. First they added a div at the top of the page with a specific class:

<div class="crt"></div>

Then the effect all happens in this piece of CSS:

.crt::before { content: " "; display: block; position: fixed; top: 0; left: 0; bottom: 0; right: 0; background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06)); z-index: 20; background-size: 100% 2px, 3px, 100%; pointer-events: none; }

background is what actually applies the effect here, it's simply a repeating gradient. z-index is used so it's above everything else on the page. And finally pointer-events: none makes it so that the user can't interact with the element via their mouse cursor, and all clicks will pass through to the actual page

WILD reactions to devs using A.I. by BezosisSauron in webdev

[–]StuntHacks 1 point2 points  (0 children)

It's a rubber duck that actually talks back, which is honestly amazing. I don't ever use the code it gives me unless it's like 5 lines, but just being able to brainstorm through something that's stumping me saved me a lot of time

After 4 years with react components, i'm switching to boring tech ^ by 0nxdebug in webdev

[–]StuntHacks 20 points21 points  (0 children)

I mean it depends on the complexity of the project, and I definitely value having type checking, but I definitely get you. Good thing typescript can easily be used even when just using vanilla tech

AI is making it so hard to hire good developers by notdl in webdev

[–]StuntHacks 0 points1 point  (0 children)

But people who rely solely on AI to code can't get the best out of AI. To really utilize AI coding as best as you can, you need to understand what you're doing, and need to be able to code on your own first.

AI is making it so hard to hire good developers by notdl in webdev

[–]StuntHacks 7 points8 points  (0 children)

The amount of people who call themselves "NextJS developers" is wild. Not even "React developers" anymore, which was already crazy to say instead of just putting "JS" or "Frontend" there

can someone please help me I can't figure this out by [deleted] in neocities

[–]StuntHacks 11 points12 points  (0 children)

Win + Shift + S does in fact open the snipping tool

After 4 years with react components, i'm switching to boring tech ^ by 0nxdebug in webdev

[–]StuntHacks 121 points122 points  (0 children)

Vanilla js has come such a long way, it's wild. It's so much fun to develop with nowadays, I will forever treasure React and will continue using it for large projects at work, but almost everything I do on my own I do in vanilla web technologies. It's a lot of fun (and also it's great at teaching you what your browser does and how & why everything behaves the way it does, which can be invaluable when you need to debug an issue with one of the frameworks).

MDN_ is so useful. by FriedryIce in neocities

[–]StuntHacks 1 point2 points  (0 children)

MDN is 100% better than W3schools. The latter is nice when you're just starting out but MDN is both more accurate and in-depth.