Skip to content

Bits of .NET

Daily micro-tips for C#, SQL, performance, and scalable backend engineering.

  • Asp.Net Core
  • C#
  • SQL
  • JavaScript
  • CSS
  • About
  • ErcanOPAK.com
  • No Access
CSS

:where() for Zero-Specificity Styling

- 28.01.26 - ErcanOPAK
:where(button) { margin: 0; }

Why it matters
Style globally without specificity wars.

Related posts:

CSS “Text Overflow Ellipsis Not Working” — The Missing Combo

How to change the style of scrollbar with CSS

CSS Layouts Break on Small Screens

Post Views: 2

Post navigation

App Execution Aliases Cleanup
Native Lazy Loading

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

February 2026
M T W T F S S
 1
2345678
9101112131415
16171819202122
232425262728  
« Jan    

Most Viewed Posts

  • Get the User Name and Domain Name from an Email Address in SQL (934)
  • How to add default value for Entity Framework migrations for DateTime and Bool (830)
  • Get the First and Last Word from a String or Sentence in SQL (822)
  • How to select distinct rows in a datatable in C# (799)
  • How to make theater mode the default for Youtube (708)
  • Add Constraint to SQL Table to ensure email contains @ (571)
  • How to enable, disable and check if Service Broker is enabled on a database in SQL Server (552)
  • Average of all values in a column that are not zero in SQL (517)
  • How to use Map Mode for Vertical Scroll Mode in Visual Studio (473)
  • Find numbers with more than two decimal places in SQL (436)

Recent Posts

  • WordPress: Add Custom Code Without Editing Theme Files Using Code Snippets Plugin
  • Photoshop: Convert Any Layer to Smart Object to Edit Non-Destructively
  • Photoshop: Use Content-Aware Fill to Remove Objects in Seconds
  • Visual Studio: Pin Variables While Debugging to Track Values Across Sessions
  • C#: Use Target-Typed new Expressions to Reduce Verbosity
  • C#: Use nameof Operator to Avoid Magic Strings
  • C#: Use String Interpolation with Alignment for Formatted Output
  • SQL: Use EXISTS Instead of COUNT for Checking Existence
  • SQL: Use COALESCE to Replace NULL Values Inline
  • .NET Core: Use File-Scoped Namespaces to Reduce Indentation

Most Viewed Posts

  • Get the User Name and Domain Name from an Email Address in SQL (934)
  • How to add default value for Entity Framework migrations for DateTime and Bool (830)
  • Get the First and Last Word from a String or Sentence in SQL (822)
  • How to select distinct rows in a datatable in C# (799)
  • How to make theater mode the default for Youtube (708)

Recent Posts

  • WordPress: Add Custom Code Without Editing Theme Files Using Code Snippets Plugin
  • Photoshop: Convert Any Layer to Smart Object to Edit Non-Destructively
  • Photoshop: Use Content-Aware Fill to Remove Objects in Seconds
  • Visual Studio: Pin Variables While Debugging to Track Values Across Sessions
  • C#: Use Target-Typed new Expressions to Reduce Verbosity

Social

  • ErcanOPAK.com
  • GoodReads
  • LetterBoxD
  • Linkedin
  • The Blog
  • Twitter
© 2026 Bits of .NET | Built with Xblog Plus free WordPress theme by wpthemespace.com