{"id":25530,"date":"2021-02-13T06:41:35","date_gmt":"2021-02-13T06:41:35","guid":{"rendered":"https:\/\/webartdevelopers.com\/blog\/?p=25530"},"modified":"2022-07-14T06:05:06","modified_gmt":"2022-07-14T06:05:06","slug":"western-electric-big-button-phone","status":"publish","type":"post","link":"https:\/\/webartdevelopers.com\/blog\/western-electric-big-button-phone\/","title":{"rendered":"WESTERN ELECTRIC BIG BUTTON PHONE"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\"><strong><span style=\"text-decoration: underline;\"><em>Author:<\/em><\/span><\/strong><\/h4>\n\n\n\n<ul><li>Alex<\/li><li>May 15, 2019<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong><span style=\"text-decoration: underline;\"><em>Made with:<\/em><\/span><\/strong><\/h4>\n\n\n\n<ul><li>HTML \/ CSS (SCSS)<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong><span style=\"text-decoration: underline;\"><em>About the code:<\/em><\/span><\/strong><\/h4>\n\n\n\n<p>This is an amazing and wonderful recreation of the Western Electric Big Button phone produced in the 1970s. It is recreated using flexbox, grid, text shadows, and text strokes. This pen encountered several CSS quirks. First, is that setting a&nbsp;<code>border-radius<\/code>&nbsp;and&nbsp;<code>overflow: hidden<\/code>&nbsp;breaks anti-aliasing on the&nbsp;<code>border-radius<\/code>, leaving a jagged appearance. This was worked around a bit by adding a very soft light&nbsp;<code>box-shadow<\/code>&nbsp;on the side that has the&nbsp;<code>border-radius<\/code>. This alleviates the problem somewhat. Second,&nbsp;<code>text-stroke<\/code>&nbsp;is still crudely implemented in browsers. All text strokes are drawn on the outside of the glyph which changes the shape of the glyph. Additionally, text shadows are sized using the inside of the glyph and end up smaller. To work around this, I oversized the&nbsp;<code>text-stroke<\/code>&nbsp;and then tried to position each glyph so that the stroke slightly overflowed the container and was cut off. This gives a smoother appearance, but is imprecise and cuts a few of the characters off.<\/p>\n\n\n\n<p><strong><em>Compatible browsers:<\/em><\/strong> Chrome, Edge, Firefox, Opera, Safari<\/p>\n\n\n\n<p><strong><em>Responsive:<\/em><\/strong> No<\/p>\n\n\n\n<p><strong><em>Dependencies:<\/em><\/strong> &#8211;<\/p>\n\n\n<a href=\"https:\/\/codepen.io\/alexgoff\/share\/zip\/joBrOE\" class=\"su-button su-button-style-default\" style=\"color:#ffffff;background-color:#000000;border-color:#000000;border-radius:40px\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:#ffffff;padding:0px 20px;font-size:16px;line-height:32px;border-color:#4d4d4d;border-radius:40px;text-shadow:none\"> Download<\/span><\/a>\n\n\n<a href=\"https:\/\/codepen.io\/alexgoff\/pen\/joBrOE\" class=\"su-button su-button-style-default\" style=\"color:#ffffff;background-color:#000000;border-color:#000000;border-radius:40px\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:#ffffff;padding:0px 20px;font-size:16px;line-height:32px;border-color:#4d4d4d;border-radius:40px;text-shadow:none\"> Demo and Code<\/span><\/a>\n<!-- AddThis Advanced Settings generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"Author: Alex May 15, 2019 Made with: HTML \/ CSS (SCSS) About the code: This is an amazing and wonderful recreation of the Western Electric Big Button phone produced in the 1970s. It is recreated using flexbox, grid, text shadows, and text strokes. This pen encountered several CSS quirks. First, is that setting a&nbsp;border-radius&nbsp;and&nbsp;overflow: hidden&nbsp;breaks anti-aliasing on the&nbsp;border-radius, leaving a jagged appearance. This was worked around a bit by adding a very soft light&nbsp;box-shadow&nbsp;on the side that has the&nbsp;border-radius. This alleviates the problem somewhat. Second,&nbsp;text-stroke&nbsp;is still crudely implemented in browsers. All text strokes are drawn on the outside of the glyph which changes the shape of the glyph. Additionally, text shadows are sized using the inside of the glyph and <!-- AddThis Advanced Settings generic via filter on get_the_excerpt -->","protected":false},"author":1,"featured_media":25531,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3265,9314],"tags":[20,3264,9317,3861,3859,7091],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/posts\/25530"}],"collection":[{"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/comments?post=25530"}],"version-history":[{"count":2,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/posts\/25530\/revisions"}],"predecessor-version":[{"id":33889,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/posts\/25530\/revisions\/33889"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/media\/25531"}],"wp:attachment":[{"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/media?parent=25530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/categories?post=25530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/tags?post=25530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}