{"id":1823,"date":"2017-05-09T17:32:39","date_gmt":"2017-05-10T01:32:39","guid":{"rendered":"https:\/\/chriscarey.com\/wp\/?p=1823"},"modified":"2018-01-29T19:11:13","modified_gmt":"2018-01-30T03:11:13","slug":"iphone-interface-with-react","status":"publish","type":"post","link":"https:\/\/chriscarey.com\/blog\/2017\/05\/09\/iphone-interface-with-react\/","title":{"rendered":"iPhone interface with React"},"content":{"rendered":"<p><a href=\"https:\/\/chriscarey.com\/blog\/2017\/05\/09\/iphone-interface-with-react\/\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1825\" data-permalink=\"https:\/\/chriscarey.com\/blog\/2017\/05\/09\/iphone-interface-with-react\/iphone-react\/\" data-orig-file=\"https:\/\/chriscarey.com\/blog\/wp-content\/uploads\/2017\/05\/iphone-react.png\" data-orig-size=\"600,1041\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"iphone-react\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/chriscarey.com\/blog\/wp-content\/uploads\/2017\/05\/iphone-react-173x300.png\" data-large-file=\"https:\/\/chriscarey.com\/blog\/wp-content\/uploads\/2017\/05\/iphone-react-590x1024.png\" src=\"https:\/\/chriscarey.com\/wp\/wp-content\/uploads\/2017\/05\/iphone-react.png\" alt=\"\" width=\"600\" height=\"1041\" class=\"alignnone size-full wp-image-1825\" srcset=\"https:\/\/chriscarey.com\/blog\/wp-content\/uploads\/2017\/05\/iphone-react.png 600w, https:\/\/chriscarey.com\/blog\/wp-content\/uploads\/2017\/05\/iphone-react-173x300.png 173w, https:\/\/chriscarey.com\/blog\/wp-content\/uploads\/2017\/05\/iphone-react-590x1024.png 590w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>After reading about the new CSS backdrop-filter I decided to see how much work would be involved to create an iPhone like interface using HTML, CSS, and React.<\/p>\n<p><!--more--><\/p>\n<p>It supports:<\/p>\n<ul>\n<li>Dragging left and right to move through pages<\/li>\n<li>Click on an icon to perform the folder open animation<\/li>\n<li>Click on the background to close the folder<\/li>\n<\/ul>\n<p><a href=\"https:\/\/chriscarey.com\/wp\/wp-content\/uploads\/2017\/05\/iphone-react-selected.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1826\" data-permalink=\"https:\/\/chriscarey.com\/blog\/2017\/05\/09\/iphone-interface-with-react\/iphone-react-selected\/\" data-orig-file=\"https:\/\/chriscarey.com\/blog\/wp-content\/uploads\/2017\/05\/iphone-react-selected.png\" data-orig-size=\"600,1038\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"iphone-react-selected\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/chriscarey.com\/blog\/wp-content\/uploads\/2017\/05\/iphone-react-selected-173x300.png\" data-large-file=\"https:\/\/chriscarey.com\/blog\/wp-content\/uploads\/2017\/05\/iphone-react-selected-592x1024.png\" src=\"https:\/\/chriscarey.com\/wp\/wp-content\/uploads\/2017\/05\/iphone-react-selected.png\" alt=\"\" width=\"600\" height=\"1038\" class=\"alignnone size-full wp-image-1826\" srcset=\"https:\/\/chriscarey.com\/blog\/wp-content\/uploads\/2017\/05\/iphone-react-selected.png 600w, https:\/\/chriscarey.com\/blog\/wp-content\/uploads\/2017\/05\/iphone-react-selected-173x300.png 173w, https:\/\/chriscarey.com\/blog\/wp-content\/uploads\/2017\/05\/iphone-react-selected-592x1024.png 592w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>View this on your iPhone for best results:<br \/>\n<a href=\"https:\/\/chriscarey.com\/projects\/iphone-ui\/\" target=\"_blank\">https:\/\/chriscarey.com\/projects\/iphone-ui\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After reading about the new CSS backdrop-filter I decided to see how much work would be involved to create an iPhone like interface using HTML, CSS, and React.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[12,48,10,5,51],"tags":[],"class_list":["post-1823","post","type-post","status-publish","format-standard","hentry","category-apple","category-css","category-development","category-iphone","category-javascript"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/prpYG-tp","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/posts\/1823","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/comments?post=1823"}],"version-history":[{"count":4,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/posts\/1823\/revisions"}],"predecessor-version":[{"id":1925,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/posts\/1823\/revisions\/1925"}],"wp:attachment":[{"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/media?parent=1823"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/categories?post=1823"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/tags?post=1823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}