The hottest CSS Substack posts right now

And their main takeaways
Category
Top Technology Topics
Perspectiv | LAB 2 HN points 21 Jul 24
  1. The :has() pseudo-class in CSS lets you style a parent element based on its child elements. This means you can change how a parent looks if it has kids that meet certain criteria.
  2. One practical use is to display error messages more clearly. You can make a parent element look different, like changing colors, when there's an error message inside it.
  3. This technique also helps with accessibility. You can use it to highlight parent elements for users who may need visual signals, based on child elements with special attributes.
Perspectiv | LAB 1 HN point 22 Jul 24
  1. The `calc()` function in CSS helps you do math for styling, making it easier to set font sizes for different screens.
  2. By using something like `font-size: calc(1.5rem + 1vw)`, the text size grows with the screen size, creating a more adaptable design.
  3. You can also use `calc()` to set limits on font size, ensuring your text doesn't get too big or too small on any device.
Exploring Tools for Thought 1 implied HN point 28 Feb 24
  1. The Eisenhower Matrix is a time management tool that helps prioritize tasks based on urgency and importance, enhancing productivity and decision-making.
  2. Divide tasks into Urgent and Important, Important but Not Urgent, Urgent but Not Important, or Neither Urgent nor Important to focus on what truly matters.
  3. Implementing the Eisenhower Matrix in tools like Obsidian, using methods like Kanban boards, can simplify task organization and enhance visual appeal.
Get a weekly roundup of the best Substack posts, by hacker news affinity:
Perspectiv | LAB 0 implied HN points 20 Jul 24
  1. You can easily customize scrollbars using CSS with pseudo-elements. This lets you change the size and color to match your site's design.
  2. Using different pseudo-elements, you can style the scrollbar, track, and thumb for a more appealing look. Each part can have its own styles and hover effects.
  3. These custom scrollbar styles mainly work in WebKit browsers like Safari, so you might need other methods for broader browser support.
Women On Rails Newsletter - International Version 0 implied HN points 15 Mar 22
  1. The importance of changing the traditional definition of power to allow women of color to access leadership roles
  2. Tips and experiences shared on scaling a company during rapid growth periods
  3. Solutions to automate documentation to ensure good and thorough documentation in software development
Women On Rails Newsletter - International Version 0 implied HN points 05 Oct 21
  1. The newsletter covers Ruby and Rails news, including new releases like Stimulus 3, Turbo 7, Hotwire 1.0, and Rails 7 alpha.
  2. A Ruby tip about the Splat operator in Ruby for defining methods with unnamed parameters.
  3. Articles on web design elements like how to describe a bug effectively, why hyperlinks are blue, and CSS art creation tips.