read through that the other day, top stuff.
I find that a lot of my own stupid questions for coding layouts can be resolved by re-reading this permanent fixture in my bookmarks https://css-tricks.com/snippets/css/a-guide-to-flexbox/
read through that the other day, top stuff.
I find that a lot of my own stupid questions for coding layouts can be resolved by re-reading this permanent fixture in my bookmarks https://css-tricks.com/snippets/css/a-guide-to-flexbox/
I highly recommend learning Sass for anyone who wants to make CSS less annoying.
Also using autoprefixer if you’re concerned about browser compatibility with modern CSS features…
edit: actually these are probably overkill if you’re just trying to build a simple personal website…so feel free to ignore everything I say
Right now reading all of this, I feel like I could make a perfect website in 2 minutes, but I know, I know that in a few weeks, when I’ll get started, I’ll be there, thinking I’d be unable to center this f**** “div” to save my life, shouting at this sticky footer that’s either not at the bottom or not matching the window’s heigth or not being clickable for some reason. And then, I’ll take a shower, some coffee, and will come back to this thread as calmly as I will possibly can.
[ https://css-tricks.com/the-trick-to-viewport-units-on-mobile/ ]
^ this right here is the kind of stuff that drives me batty and makes me just give up.
the author recommends using a javascript function to update a custom CSS variable to use the actual window size in place of vh
units because the latter are broken across browsers / platforms. then adding a listener for resize events. then adding debounce/throttling logic to the resize handler.
what the hecking frack. no wonder we end up piled-up frameworks like Bootstrap.
anyways, thanks for the tips - resources shared above have allowed me to ditch Tailwind and roll my own stuff and have it work better anyway.
I highly recommend Rachel Andrew and her clear explanations of the latest CSS for layouts, responsive and otherwise: https://thecssworkshop.com/
if you want a Virgil to guide you through HTML/CSS/finally setting up your own site, she is it. her tutorials are not free but are not that expensive, and IMO it is money well spent. a few of the intro ones are free to get you started.
for DIY and as-you-go questions, I find https://www.w3schools.com/css/, and https://stackoverflow.com/questions/tagged/css invaluable.
and just generally, keep in mind that there’s always more than one way to approach a layout, so don’t feel you have to incorporate .js or whatever – you might want to, but there’s likely another way.
Totally agree, CSS is insane. It’s mostly because it’s just had stuff bolted on to it over the years instead of re-imagining it for the contemporary situation. Not to mention that the android / browser fragmentation issue is real.
I feel like its at this point where there are so many approaches to the same solution that its just confusing to know where to begin or where to point your compass. It’s not like regular programming where the same tools with different logic gets you to the same result. its more like different tools with different logic gets you to the same place, but all of the different tools are called ‘CSS’
calc()
in css has been just the best thing that they’ve introduced. It should be able to compensate for the issues in that article to some degree.
In my classes (I teach this stuff at MCAD ) I’ve totally eliminated so much old css and am now just teaching the following as the beginner core skills:
With that tool set, you can build about 90% of most things you’d want to. And likely 100% of the indistinguishably designed web that we look at most of the times these days.
Hey everybody, haven’t seen a post about general web dev stuff, thought I would make one after finding a few cool tools out there.
Tachyons CSS a really cool minimal css framework. Found through Tom MacWright’s blog that he built with it, really appreciate the typography and general layout of this css framework.
Gridsome is a pretty awesome static site generator that uses GraphQL and Vue. There are obviously several similar frameworks out there for React, but as a primarily back-end leaning “full-stack” dev, I recently learned Vue and enjoy it. I recently built my blog with it.
Netlify - if you don’t know about Netlify by now, you’re really missing out. It’s an awesome site deployment and hosting tool that has one click HTTPS, easy builds, serverless functions, authentication, and more. If you feel like paying a very small amount, you can also get network level analytics.
What are some other cool or inspiring tools you’ve found out there and what have you done with them?
this is not exactly a blog question but a web programming question (not sure we have a general thread for that?)
we want to build a help form (for monome things) which sends us an email with some tags regarding the topic/subtopic. ideally the topic would dynamically change the sub-topics and also display a list of suggested helpful links.
this seems like an extremely common thing that is likely to have been previously done… perhaps as a javascript? does anyone have recommendations for something drop-in or with minor reworking?
@alanza started the thread "Stupid Questions" in Design for this kind of purpose I think? The title is maybe a little misleading but it’s been a great resource for me so far.
happy to change the title to something more useful if anyone has suggestions!
I like the title! But maybe it’s not so straightforward when you use the search engine for this kind of topic? I don’t know.
Perhaps “Stupid Questions in Web Design” would be more fitting? As opposed to sound design, module design, etc…
you know, I would entertain design questions of all stripes if this thread feels like it has room for it.
Typeform comes to mind as an elegant third party solution. But if you’ll be doing this without an embed, your keywords would be “forms with conditional logic” or “forms with decision tree.”
Probably a js library out there. Willl give it a look when at work tomorrow.
This is the kind of thing I’ve used ZenDesk for in a commercial setting. (Edit: I put this to the team at work and they came back with Typeform too)
now using zendesk for collaborative email support but don’t want to use their knowledge base (prefer GitHub) and don’t want to pay more.
but yeah that is the idea, but stripped down.
@healthylives thanks!!
Dug around just a little. Probably fairly easily done with jquery, here’s a sample tutorial:
https://formden.com/blog/conditional-form-field
Here’s a more robust library:
http://www.alpacajs.org/documentation.html
Tagify is a JavaScript library specifically for the tag suggestion/UI aspects of the sort of functionality seen on Discourse/StackExchange, it supports many major JS frameworks including JQuery but can also be used without any framework. Repo here, live demo page side-by-side with source here.
Hope this is a good place for this question.
I’m working on a web project with a friend who would like to have a web app featuring his 9 hour ambient recording with generative visuals by me. I’ve got a good handle on how I want to approach the visual aspect, but I have no clue where to start with the audio portion.
Because it’s such a huuuuuge audio file, I was thinking the best approach would be to continuously stream the audio file like an online radio site or something. This would also be ideal so if someone came back to the site, it would not just start the whole 9 hour piece again.
Some quick googling to find out about making a site like this showed me how to tap into existing streams, but I don’t recall seeing anything about making my own streaming thing.
Any advice is appreciated!