Pranshu Agrawal (@_p5u_) 's Twitter Profile
Pranshu Agrawal

@_p5u_

Photographer. Technical Lead at @PaytmBank.
Tweeting usually about javascript.
I like vintage cameras and mechanical keyboards.

ID: 961856461264465920

linkhttp://pranshu.works calendar_today09-02-2018 06:57:05

15 Tweet

3 Followers

0 Following

Monica Dinculescu (@notwaldorf) 's Twitter Profile Photo

🚨 The `inputmode` attribute has finally shipped in Chrome 66!!! 🚨 This means <div contenteditable inputmode=β€œtel”> will actually bring up the right keyboard on mobile, which was previously a power <input> had! 🎁 output.jsbin.com/teselus/1 πŸ“– chromestatus.com/feature/622598…

🚨 The `inputmode` attribute has finally shipped in Chrome 66!!! 🚨

This means 
&lt;div contenteditable inputmode=β€œtel”&gt; will actually bring up the right keyboard on mobile, which was previously a power &lt;input&gt; had! 

🎁 output.jsbin.com/teselus/1
πŸ“– chromestatus.com/feature/622598…
CSS-Tricks (@css) 's Twitter Profile Photo

Pretty clever idea to turn an <input type="checkbox"> into a toggle without any additional elements (box-shadow!) (⚫️ ) ( βšͺ️) codepen.io/rakeizer/pen/Q…

CSS-Tricks (@css) 's Twitter Profile Photo

I've heard Moment.js called "a necessary evil" in some apps (it's large). Here's a 2KB alternative with the same API for dealing with dates/times. github.com/xx45/dayjs (I can't speak to the differences, but surely there are some.)

I've heard Moment.js called "a necessary evil" in some apps (it's large). 

Here's a 2KB alternative with the same API for dealing with dates/times. 

github.com/xx45/dayjs

(I can't speak to the differences, but surely there are some.)
CSS-Tricks (@css) 's Twitter Profile Photo

"Replace <img /> elements with <img-2> to automatically pre-cache images and improve page performance." github.com/RevillWeb/img-2

"Replace &lt;img /&gt; elements with &lt;img-2&gt; to automatically pre-cache images and improve page performance."

github.com/RevillWeb/img-2