A cool trick to add gradient without using the old way of making your container relative and using some sort of <span class=”textbg”></span> somewhere in your container .


.container img:before {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 150px;
background: linear-gradient(transparent, black);
}

and you should have this kind of effect without any extra codes. It helps make your text pop in case you’re wondering the purpose cause not all images will make your text readable.

cssgrad_2

IMG_2718

My bumblebee Deathadder has been aging gracefully so I thought I’d preserve its lifespan a little longer by getting another mouse. Lo and behold, SS Kana Dota 2 edition. I don’t really like SS mice cause my first experience with one lasted less than 24 hours, the Ikari. This one is no deathadder and it is quite smaller, but after using it for the past 2 days, I guess I’m ok with it. Great for traveling cause of it’s compact size.

The bundle also comes with a QCK mini dota2 mousepad. I already have the QCK+ which was singed by a lot of pro-dota2 players during WCG and ACG.

ZAM76iU

In non-gaming related news, had lunch yesterday at a place I’ve always wanted to try out, Hyderabad Recipes. Om nom nom. Had the chicken dum briyani lunch set that came with mango lassi. I don’t know what’s in that tall pot but it was very nice.

IMG_2720

I’m going to show some support for my mom and sister’s work. They’ve just released their 3rd book last week titled “From My Heart I say Alhamdulillah”. So if you like anime-looking islamic children books, go get one?

You can get more details on how to order it on their Facebook page.

book_1 book_2
Ekk, I should take better pictures..

Gelagat first day

  • Only remembered 4 person dalam all that was introduced to me. Ain, Aini, Abbas and Alif. Sebab all “A”.
  • Nothing to do
  • Kantoi tak reti pakai tie.
  • 1 1/2 hour baru sampai office
  • took 45 mins je to get back

update

turns out bukan “abbas” tapi Abbashah. my bad.

Previously when working on wordpress themes / plugin, had to use external or farbtastic’s color picker. Now in 3.5 WP comes with a shiney Iris color picker that looks really nice.

Just enqueue the scripts using “admin_enqueue_scripts”


wp_enqueue_script('wp-color-picker');
wp_enqueue_style('wp-color-picker');

and use

jQuery("#fieldID").wpColorPicker();

and it should look something like this

colorpicker

and upon clicked.

colorpicker_expanded