TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: CSS frameworks, older browsers, CSS Grid – what do you use and why?

7 点作者 interfacesketch大约 6 年前
It&#x27;s 2019 and browser support for CSS Grid is strong (using the latest browser versions). Many supporters of CSS Grid suggest that CSS frameworks are no longer necessary for layout if you only need to target modern browsers.<p>What&#x27;s your current state-of-play with CSS? Are still using CSS frameworks? Do you still need to support older browsers? Or have you ditched a framework and fully embraced CSS Grid?

3 条评论

LarryMade2大约 6 年前
Don&#x27;t use grid, the main thing I&#x27;m working on has hand-made CSS (with a mobile first layout (with some sizing for larger display) <a href="https:&#x2F;&#x2F;doplaces.com" rel="nofollow">https:&#x2F;&#x2F;doplaces.com</a><p>On another I&#x27;m just getting into - working on a simple one&#x2F;two column thing (large screen two block columns, small screen goes to one some text&#x2F;image scaling).<p>I find a lot of CSS frameworks are over-engineered, and with addition of various modules and tools adding redundancy to a site&#x27;s CSS soup.<p>I can see a lot of refinement can be made by paring out CSS parts into several sub-classes and then mix them together in the element class assignment (I cant say all my stuff is like that yet, but that what I&#x27;m striving for.) I&#x27;m just getting into front-end so I&#x27;m learning as I go.
CM30大约 6 年前
Depends. If I&#x27;m working on a team project and others are using a framework, I won&#x27;t exactly tell them to stop using it. Similarly, if I&#x27;m lazy&#x2F;don&#x27;t want to worry about design, well Bootstrap will probably get me a nicer looking site than anything I&#x27;d be able to come up with on my own.<p>But if it&#x27;s possible, and there&#x27;s a designer willing to create designs for components, then I&#x27;ll use CSS Grid and Flexbox without a pre made framework.
markholmes大约 6 年前
I&#x27;ve found that when you reach a certain degree of complexity in an application, a functional CSS library like Tachyons (<a href="http:&#x2F;&#x2F;tachyons.io&#x2F;" rel="nofollow">http:&#x2F;&#x2F;tachyons.io&#x2F;</a>) or Tailwind (<a href="https:&#x2F;&#x2F;tailwindcss.com&#x2F;docs&#x2F;what-is-tailwind&#x2F;" rel="nofollow">https:&#x2F;&#x2F;tailwindcss.com&#x2F;docs&#x2F;what-is-tailwind&#x2F;</a>) is the only sane choice.