The autofill for usernames and passwords is a lovely connivence, but on some design, it looks out of place.
Today, I learnt you can style it, at least where the -webkit- prefix is used.
-webkit-box-shadow: 0 0 0px 1000px #ccc inset;
Here, we have set a solid light grey, but you could also layer up the shadows like so:
-webkit-box-shadow: 0 0 4px 1px…
Quite often, I need an element that’s fluid, but has a maximum width. A good example would be a form element, say a search box, that at the websites widest size, should be 300px wide, but should be fluid when the browser shrinks towards a mobile-sized width. I have the trick for you.
<input type="search" />
An ordinal is the part of the date after the day, such as ‘nd’ ‘st’ and ‘th’. PHP makes is very easy to add these. So does Ruby, but they don’t come as part of Jekyll. I wanted them for a blog, so I found a way. This won’t work with GitHub pages by the way. You can’t use plugins there.
So, you need to install a gem.
gem install facets
Inspired by the brilliant Cole Henley, I thought it would be a good idea to share what my monthly costs as a freelancer are.
Before you read this though, bare in mine I work from home, so I have no office I need to pay for. That’ll change soon though.
Hosting: $120 a month
I currently have three servers with Media Temple. One DV 3.5, one DV 4.0 and GS. Two are for…
Mr Michael Rose drew my avatar using the iPad app, Paper. It’s awesome! Take a look.
I spoke at my first conference in a year. I spoke about stuff we can do today in responsive web design. It was a blast. Here’s my slides, I also wrote about it.
I also spoke at a great monthly meetup in London called Geeky. I ranted for 2 minutes, not as planned, it should’ve been…