postcss-design-tokens gotchas’

I remember when I worked constantly heavily with frontend cascading stylesheet topics, which was in the 2010s when people were simply converting Photoshop designs into HTML + CSS combos. Fast forward to today, lots of bells & whistles were definitely moulded on top of that flow. Style Dictionary is undoubtedly one of them, and even though I faced a bumpy start, I also got to relive those years of heavy frontend-oriented craftsmanship.

Read More postcss-design-tokens gotchas’

max-width: 767px

Using Bootstrap? Most likely. Wanna apply some special rules to an element inside a grid (col-*) system within a viewport that satisfies something less than col-md but more than col-sm? @media screen and (max-width: 767px) may be your friend. If there is only one thing to come out of this, obviously the number 767. This, to remind my future self. Cheers,

Read More max-width: 767px

A quick look at YouTube API 2.0 – Retrieving data for a single video

Hi guys, As part of my project requirement, I have to fetch and parse videos from YouTube in a Flash website. The video player itself should be simple enough since we’ve got YouTube player (https://developers.google.com/youtube/flash_api_reference#Retrieving_video_information), but what about information such as view count, rating, etc.? The YouTube player certainly doesn’t display those statistics out of […]

Read More A quick look at YouTube API 2.0 – Retrieving data for a single video