CSS button with transparent gradient background overlayed photo of library

How to Make a Beautiful Transparent Gradient Button.

Sam Rueby CSS, Web Development 1 Comment

I saw a tweet from Tim Brown and I thought the button with the transparent gradient background was awesome. Designing & developing @deneenpottery has been awesome. Handmade Pottery in St Paul. Check it! http://t.co/W7QE33eA0w pic.twitter.com/GP31pG5AzC — Tim Brown (Design) (@timbdesignmpls) December 19, 2014 You have to go to the website he designed to get the full effect because it’s displayed …

What are the ‘m’ and ‘c’ buttons in Mini Profiler?

Sam Rueby .NET Tips, Software Development, Web Development 0 Comments

I thought this answer was a bit unGoogleable. After upgrading StackExchange’s Mini Profiler I noticed an ‘m’ and ‘c’ at the button. But their use isn’t incredible clear. It turns out, the ‘m’ is minimize/maximize, which is great for those pesky situations where it’s covering a piece of the page you need to see. The ‘c’ button is “clear”: it …

Articles/Videos I’ve recently read/watched

Sam Rueby Uncategorized 0 Comments

I enjoyed these, you might too. Life is a game. This is your strategy guide Fundamentals of Mobile Web Development – Chrome Dev Summit 2014 (Matt Gaunt) Browser Rounding and Fractional Pixels Web Design Best Practices Cheat Sheet The physics of productivity: Newton’s laws for getting stuff done

Will-change property

Sam Rueby CSS 0 Comments

I just heard about CSS’s  will-change  property, which I am particularly interested in because getting websites to run well on mobile is hard. will-change is a CSS draft specification right now. Its purpose is to provide a hint to the browser that the provided properties can possibly change, allowing the browser to preemptively perform expensive operations before it happens, when the …

CSS z-index and stacking context.

Sam Rueby CSS 0 Comments

It may be shocking to find out for beginners that don’t know, that CSS’s z-index property isn’t global. The z-index property is relative to the current stacking context. Put even more simply: You can’t set an element’s z-index to a smaller number than another element’s z-index and have it appear under that other element, if your element has any ancestor …

How to Activate Your MSDN Pluralsight Benefit

Sam Rueby .NET Tips, Software Development 2 Comments

I found it pretty un-Googleable to figure out how to get your recently-announced Pluralsight subscription through your MSDN subscription. (I had to watch a video to get the details). My mistake was going to Pluralsight’s site first, expecting a link here, or on MSDN’s home page. Here’s what there’s actually to know. It’s not a free subscription (I thought it …

Using CSS to prevent the user from scrolling

Sam Rueby Web Development 3 Comments

I was creating a mobile menu for a project today. The normal, click-the-hamburger, expose a drawer with menu items, etc. I mocked this up in JsFiddle. I darkened the background by making a simple overlay:

But I noticed that on mobile, you can still scroll the page (i.e. the body) even when the overlay was over the content. That’s …

How to fix ReSharper’s bad ToDo item color in Visual Studio.

Sam Rueby Uncategorized 2 Comments

Excuse me as I continue to post fixes to trivial but nevertheless annoying problems that I run into. So after updating to the new ReSharper EAP, this happened: I totally can’t read the NOTE in my source code. What gives ReSharper? But if you go into the Visual Studio settings, Todo items should be colored a lighter, readable blue. Alexander Kurakin …

Articles I’ve Recently Read

Sam Rueby Readings 0 Comments

Chaos Monkey Released Into The Wild Violating the “smart enum” pattern in C# Writing Cleaner Code with Reactive Extensions I’m stuck in someone’s for loop Atomic design (EN) (Video) Improving Site Performance with the Navigation Timing API