News for hackers. Stuff that matters.
Re:Stripe Elements: Pre-built UI components to help you crea... by TeMPOraL on Wednesday October 04, 2017 @03:27AM (#15398849)
Oh God, yes!

I love the attention to small details they're giving here. It's the kind that I absolutely admire but so rarely see. For example, in the section "Less code. Fewer edge cases." - a) the code "image" scrolls in the direction you scroll, and b) the code is actual code, made to look that way through use of a font (Flow-Circular). They could have went with a nonsense PNG with horizontal lines, but instead, they put actual code. They even went as far to leave this in the HTML just above that place:

<!-- This is a trimmed down real Stripe.js v2 basic integration. The full version would be much longer. -->

Hats off to them.

Re:Stripe Elements: Pre-built UI components to help you crea... by Angostura on Wednesday October 04, 2017 @06:24AM (#15399407)
Not to mention the correct use of 'Less' and 'Fewer'. Well done copywriters.
Re:Stripe Elements: Pre-built UI components to help you crea... by pc86 on Wednesday October 04, 2017 @07:39AM (#15399752)
Stripe has some great copy writing for sure, but I don't think correct grammar should be listed as one of the reasons why. :)
Re:Stripe Elements: Pre-built UI components to help you crea... by mstade on Wednesday October 04, 2017 @09:06AM (#15400156)
Wow, that's a pretty cool easter egg! I copied the "image" and pasted into Sublime, and there you go: actual code!

Very cool little detail, color me impressed!

Re:Stripe Elements: Pre-built UI components to help you crea... by khalilravanna on Wednesday October 04, 2017 @10:05AM (#15400521)
Yeah super cool! It's apparently just done by using a font called "Flow-Circular" that comes out looking like that.