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

CSS

Shimin's Separate Concerns
Page 1 of 1

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.…

Tailwind CSS – What's the Big Deal Anyway?

By Shimin Zhang in CSS on 04 Mar 2022

If you are asking yourself "Why is Tailwind such hot stuff?" – this post is for you. I'll list my reasons why Tailwind CSS could be the right CSS framework for you or your team.…

Should this be in pixels? Three questions to ask when using the CSS px unit

By Shimin Zhang in CSS on 11 Feb 2022

It can feel a bit overwhelming to determine he correct unit to use in each case.. This post will provide some key questions to ask to determine if px is right for the occasion.…

How to create Styling APIs using CSS Custom Properties

By Shimin Zhang in CSS on 28 Jan 2022

I'll briefly go over what are CSS custom variables, then dive into how you can use them to create a style API layer, and finally, look at some implementation tricks and pitfalls when it comes to CSS custom properties.…

Page 1 of 1

Topics

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