Facebook Login In Mobile Phone

Facebook Login In Mobile Phone: Wouldn't be cool if we selected some native mobile UI and attempt to recreate them utilizing just HTML5, CSS3 as well as JavaScript? So, today is Facebook's phenomenal IPO and also I took their tidy & elegant login display and recreated it for the internet! Right here it is the outcome, some code and also remarks.

Facebook Login In Mobile Phone

Disclaimer: I created this app with the iPhone Facebook App in mind. I just tested the application on apple iphone. I currently observed that the radial gradient history looks pixelated on Chrome, and also I also presume that as a result of various other gradients, alpha shades and etc this application will make some Android as well as BlackBerry tools shout. Please don't blame me:-RRB-.

The sight it's quite straightforward. We have the logo, 2 fields as well as 3 buttons. The only point that might look various is the part with CSS course 'shadow'. Since I had not been able to produce a box-shadow for the areas without producing conflicts with their boundaries, I use this component as a layer in addition to the areas with the internal shadow.

Concerning the theming, there's a lot of CSS3 things inside. I'm utilizing Sass with Compass framework, so it alleviates several of the hurdles of plain CSS. Logo is just a part with repaired dimension and a history image. I'm additionally supplying the retina variation of it utilizing the medias inquiries.

As I wrote previously, the darkness component is a hack service for making the inner box-shadow, without producing conflicts with the fields' borders. The email field has a gray border on all-time low, and also the password a white border on the top. It produces sort of a side in between areas. Something various about the areas is that you can design the message placeholder utilizing::- webkit-input-placeholder.

The buttons got new gradients, as well as added box-shadows. They likewise supply the same pressing state as the initial interface.

Wrapping up.
Which's pretty much it. This is a great exercise, to see what we could achieve using just web. Particularly with Sencha Touch, since we hear a great deal of concerns asking just how easy/hard it is to tailor Touch components.

I wished to use just CSS3, however, for production it would certainly be far better to utilize a solid image for the radial background for non-iOS tools, as well as other sutil improvements. From my experience it performs way much better.