Mark Andrews
  • Home
  • Creative
  • Contact
CSS

CSS unset property

Mark Andrews

24 Jul 2023 • 1 min read

How to revert CSS properties to the inherited value

unset - CSS: Cascading Style Sheets | MDN
The unset CSS keyword resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not. In other words, it behaves like the inherit keyword in the first case, when the property is an inherited property, and like the initial keyword in the s…
MDN Web Docs

dotnet core local auth

Bypass auth for local access if (app.Environment.IsDevelopment()) app.MapControllers().AllowAnonymous(); else app.MapControllers();
09 Feb 2025

VS Code on Windows, save without formatting

Default on Windows: Ctrl + k then Ctrl + Shift + s How do I turn off text formatting on save in visual studio code?I don’t know why my code is auto formatted on save and for some reason changing the layout. I figured out this was due to auto format
18 Oct 2024 1 min read

git ignore files but only on the local repo

Naturally untracked files can be added to the .gitignore, and there are workarounds to update the history to remove files from tracking and .gitnore. I had to update a config file, to include a setting that I only wanted on my machine. I did not want to be able to
16 Oct 2024 1 min read
Mark Andrews © 2025
  • Privacy
Powered by Ghost