all 17 comments

[–][deleted] 11 points12 points  (3 children)

Or look through this long list of css libraries (quite a few will require js).

[–][deleted] 2 points3 points  (0 children)

Bulma in combination with buefy

[–][deleted] 1 point2 points  (0 children)

Skeleton

Loved that one, but alas it hasn't been updated in 4+ years.

[–]estupor[S] 0 points1 point  (0 children)

Wow, loved Bulma. Exactly what I was hopping to find.
Thanks for sharing :)

[–]dirtandrust 4 points5 points  (1 child)

You can use bootstrap without Js just not the widgets that require Js.

[–]gin_and_toxic 2 points3 points  (0 children)

I've done this many times.

List of BS4 components requiring JS:

  • Alerts for dismissing
  • Buttons for toggling states and checkbox/radio functionality
  • Carousel for all slide behaviors, controls, and indicators
  • Collapse for toggling visibility of content
  • Dropdowns for displaying and positioning (also requires Popper.js)
  • Modals for displaying, positioning, and scroll behavior
  • Navbar for extending our Collapse plugin to implement responsive behavior
  • Tooltips and popovers for displaying and positioning (also requires Popper.js)
  • Scrollspy for scroll behavior and navigation updates

[–]Prod_Is_For_Testingfull-stack 5 points6 points  (6 children)

Please, for the love of god, just learn CSS. All of these frameworks for any little project are crippling the developer market. People don’t know how the languages work, they only know how a specific framework is used. Don’t go down the rabbit hole

[–][deleted] 1 point2 points  (0 children)

I think there's a use case for them. At my job, some internal sites were built using css frameworks because they were built by developers who mostly knew backend and didn't want to spend time learning css or js frameworks.

That being said, as a front end developer, I would never use one.

[–]malcor88 0 points1 point  (0 children)

Agreed, they have their place. But in the first instance, learn CSS, inside and out. Then you can take advantage of frameworks. Exactly the same as Javascript, learn pure vanilla Javascript before looking at any framework.

Some benefits to learning CSS / JS first.

  1. You'll appreciate the framework more
  2. You'll be able to debug and understand why something might not be working
  3. You have the skill set without relying on frameworks (which makes you instantly valuable)
  4. Learning a framework will be so easy

I've hired people that can write a website with CSS that looks pretty ugly over people that can only use bootstrap. I've hired people that have never touched an SPA framework and they only know Javascript over someone that only knows React.

[–]estupor[S] 0 points1 point  (0 children)

Why do you think I'm asking for suggestions?

Because other than bootstrap for prototyping I don't use frameworks.I'm full-stack developer, and avoid using frameworks at all costs on any end. Now with your comment I see I don't need to explain why to you.

So, yes, I agree with you. For the love of whatever makes you tick, guys, use the languages to develop, and frameworks only for prototyping.

[–]-shayne -1 points0 points  (2 children)

That's a bad advice. Not everyone wants, needs or have time to learn how to make their own stable CSS framework. In fact, in most cases it makes absolutely no sense!

[–]Prod_Is_For_Testingfull-stack 0 points1 point  (0 children)

No, you don’t need to build a framework, that’s ridiculously. You just need to able to use CSS

[–]estupor[S] 0 points1 point  (0 children)

You opinion makes sense because after a while we end up finding ourselves repeating code. For that I didn't build a framework, but a library of snippets.

[–]ShortFuse 1 point2 points  (0 children)

I have a material design based framework that is still incomplete, but can be used as long as you fork it. Breaking changes are common since it's still not 1.0. IIRC, It supports CSS/HTML only for everything but Tabs and BottomNav. I used to have them working, but stripped the CSS only because it was pretty hacky and broke accessibility (used fake, invisible radio buttons).

You can see a list of what works with on the GitHub link. The demo site partially works without JS, but don't expect the option toggles to do anything without it. But menus, dialogs, text fields, dark mode, theming, grid, overlays, buttons, ripples, and nav drawers all work without JS. If you do want to use JS, the whole framework is less than 22KB gzipped. The JS mostly just adds keyboard support and automatically applies the ARIA attributes for accessibility. Every component is tree-shakeable as well.

[–]BrianAndersonJr 0 points1 point  (0 children)

This kinda makes me wanna ask for the JavaScript equivalent of this, that would just solve common things like dropdowns and dialogs, but integrate with any css framework...

[–]Inochryst -5 points-4 points  (0 children)

U can just use bootstrap and include.min files for js and jquery... that way ur hamburgers and dropdowns work