• Home
  • Blog
  • @itstrueintheory
  • Search
Menu
Topic 11 Posts

CSS

Shimin's Separate Concerns
Page 1 of 2 Older Posts

3 useful CSS properties to customize your web interactions

By Shimin Zhang in CSS on 10 Jun 2022

Just as the disabled HTML attributes can affect an element's interactivity, there are a number of CSS properties that handle more than styling. Following the Rule of Least Power, we should look for HTML and CSS solutions before reaching for a pure JS one.…

Are negative CSS margins bad practice?

By Shimin Zhang in CSS on 03 Jun 2022

The short answer is no, as long as you are only using negative CSS margins to bring elements closer together than their box model properties would allow.…

When <br> is not enough – A tour of 11 HTML and CSS line break examples

By Shimin Zhang in CSS on 27 May 2022

In this post, I'll go over various HTML and CSS-based methods for creating line breaks in your text, as well as methods for breaking up words to achieve the right typeset.…

How to Change CSS Styles with JavaScript – From Basic to Advanced Methods

By Shimin Zhang in CSS on 20 May 2022

In this post, I'll go over 4 methods of style updates using Javascript and their use cases. We'll also consider each method's usefulness in terms of its CSS Complexity. That is, how easy is it to understand and modify.…

Got Spaghetti Stylesheets? 4 Techniques for Managing CSS Complexity

By Shimin Zhang in CSS on 29 Apr 2022

This week, I want to take a look at some tried and true techniques for unwinding your spaghetti CSS. The techniques are covered in their general form – with links to framework level implementation examples.…

Why Your CSS is Always Messy and Chaotic – Understanding CSS Complexity

By Shimin Zhang in CSS on 22 Apr 2022

Does the thought of making a minor style update in a large front-end project give you pause? This week, I want to take a look at what makes CSS complex.…

Why is :hover:after valid but not :after:hover? CSS Pseudo-Class and Pseudo-Element Selectors

By Shimin Zhang in CSS on 01 Apr 2022

In this post, I will briefly go over the history of CSS pseudo-element and pseudo-class selectors, how they differ, how to combine them in everyday usage, and why I am an ::after only guy now.…

Why I don't use Tailwind CSS in Production

By Shimin Zhang in CSS on 11 Mar 2022

While I love Tailwind for prototyping, I do not use it for production codebases. Where maintainability is key and there's time to document and enforce style workflow.…

Page 1 of 2 Older Posts

Topics

CSS: 11 Programming Career: 11 Best Practice: 7 TailwindCSS: 5 Programming Tips: 5 Gatsby: 4 WordPress: 3 HTML: 3 Performance: 3 JavaScript: 2 Accessibility: 2 Code Review: 2 Web API: 1 Documentation: 1 Hooks: 1 useEffect: 1 React: 1 startup: 1
Shimin's Separate Concerns © 2023 Published with Ghost • Theme Attila