{"__browser":{"device":"unknown_device","mobile":false,"name":"unknown browser","platform":"unknown_platform","version":"0"},"__constants":{},"__CPDATA":{"domain_iframe":"https://cdpn.io","environment":"production","host":"codepen.io","iframe_allow":"accelerometer; ambient-light-sensor; camera; display-capture; encrypted-media; geolocation; gyroscope; microphone; midi; payment; web-share; vr","iframe_sandbox":"allow-forms allow-modals allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-top-navigation-by-user-activation allow-downloads allow-presentation"},"__cpedata":{"action":"show","controller":"live_fullpage"},"__user":{"anon":true,"base_url":"/anon/","current_team_id":0,"current_team_hashid":null,"hashid":"VoDkNZ","id":1,"itemType":"user","name":"Captain Anonymous","paid":false,"tier":0,"username":"anon","created_at":null,"email_verified":null,"collections_count":0,"collections_private_count":0,"followers_count":0,"followings_count":0,"pens_count":0,"pens_private_count":0,"projects_count":0,"projects_private_count":0},"__firebase":{"config":{"apiKey":"AIzaSyBgLAe7N_MdFpuVofMkcQLGwwhUu5tuxls","authDomain":"codepen-store-production.firebaseapp.com","databaseURL":"https://codepen-store-production.firebaseio.com","disabled":false,"projectId":"codepen-store-production"},"token":"eyJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJodHRwczovL2lkZW50aXR5dG9vbGtpdC5nb29nbGVhcGlzLmNvbS9nb29nbGUuaWRlbnRpdHkuaWRlbnRpdHl0b29sa2l0LnYxLklkZW50aXR5VG9vbGtpdCIsImNsYWltcyI6eyJvd25lcklkIjoiVm9Ea05aIiwiYWRtaW4iOmZhbHNlfSwiZXhwIjoxNjU2OTg1NTg3LCJpYXQiOjE2NTY5ODE5ODcsImlzcyI6ImZpcmViYXNlLWFkbWluc2RrLThva3lsQGNvZGVwZW4tc3RvcmUtcHJvZHVjdGlvbi5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInN1YiI6ImZpcmViYXNlLWFkbWluc2RrLThva3lsQGNvZGVwZW4tc3RvcmUtcHJvZHVjdGlvbi5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInVpZCI6IlZvRGtOWiJ9.hmG_0PMVCkkbJFuebFy1cy2Qqo7Vhv_gVR9xAmxzLgmKIfXf8ZoAqy1TsoyRioY5Dy1Ytm0Wc5qJn0dPTk-piPrtaQ-C2aAm827UkeRmq9djZIwnrXHrwxYRA1STavHsv7zerFK4sU6Ppsgq2504BzouHPfBCZUyiajKY5JO7JcclETyF4mckXLwSZE7agdFBMeQQVc49MfBJIhxwiZxSBMUeEZle74PGBLoSIYGlac7mGmfb1wH8L2WOzrlXqd6nY0o7gdHJgYiTk3wFiqt5zcQTnv4riOiN5E2gFAiTHtEb4JsZk_4nOw7Rs-OFxrpC8CwXpUS0DOMJGj_Dqr7IA"},"__graphql":{"data":{"sessionUser":{"id":"VoDkNZ","name":"Captain Anonymous","title":"Captain Anonymous","avatar80":"https://assets.codepen.io/t-1/user-default-avatar.jpg?fit=crop&format=auto&height=80&version=0&width=80","avatar512":"https://assets.codepen.io/t-1/user-default-avatar.jpg?fit=crop&format=auto&height=512&version=0&width=512","currentContext":{"id":"VoDkNZ","baseUrl":"/anon","title":"Captain Anonymous","name":"Captain Anonymous","avatar80":"https://assets.codepen.io/t-1/user-default-avatar.jpg?fit=crop&format=auto&height=80&version=0&width=80","avatar512":"https://assets.codepen.io/t-1/user-default-avatar.jpg?fit=crop&format=auto&height=512&version=0&width=512","username":"anon","contextType":"User","__typename":"User"},"currentTeamId":null,"baseUrl":"/anon","username":"anon","admin":false,"anon":true,"pro":false,"verified":false,"teams":[],"__typename":"User"}}},"__pay_stripe_public_key":"pk_live_2GndomDfiklqpSNQn8FrGuwZSMIMzha7DkLJqlYe7IR0ihKAlKdiHg68JJc5eVPt68rzAjzAAVXcUwjySHRCsgjQQ00gtRBUFNH","__pay_braintree_env":"production","__item":"{\"id\":11064922,\"user_id\":927610,\"html\":\"<header class=\\\"zoom\\\">\\n\\t<div class=\\\"title\\\">\\n\\t\\t<h1>Scroll to Zoom<\\/h1>\\n\\t\\t\\t\\t <a href=\\\"http:\\/\\/webdesignerwall.com\\/tutorials\\/how-to-add-icon-fonts-to-any-element-with-css\\\" alt=\\\"webdesignerwall.com\\\" target=\\\"_blank\\\"><button>View Tutorial<\\/button><\\/a>\\n\\t<\\/div>\\n<\\/header>\\n<main role=\\\"main\\\">\\n\\t<div class=\\\"content\\\">\\n\\n\\t\\t<p>Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Maecenas sed diam eget risus varius blandit sit amet non magna. Nulla vitae elit libero, a pharetra augue. Integer posuere erat a ante venenatis dapibus posuere velit aliquet.<\\/p>\\n\\t\\t<p>Curabitur blandit tempus porttitor. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.<\\/p>\\t\\n\\t\\t\\t<p>Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Maecenas sed diam eget risus varius blandit sit amet non magna. Nulla vitae elit libero, a pharetra augue. Integer posuere erat a ante venenatis dapibus posuere velit aliquet.<\\/p>\\n\\t\\t\\n\\t<\\/div>\\n<\\/main>\\n<footer>\\n<p>A <a href=\\\"http:\\/\\/www.webdeisgnerwall.com\\\" alt=\\\"web designer wall\\\" target=\\\"_blank\\\">webdesignerwall.com<\\/a> Tutorial<\\/p>\\n<\\/footer>\",\"css\":\"\\/* --- General Pen Styles --- *\\/\\nbody{\\n\\tfont-family: Georgia, serif;\\n\\tcolor: #333;\\n\\tfont-size: 1.4rem;\\n\\tline-height: 2rem;\\n}\\nheader{\\n\\tposition: relative;\\n}\\n.title{\\n\\ttext-align: center;\\n}\\nh1{\\n\\tfont-size: 6vw;\\n\\tline-height: 1.125;\\n\\tfont-family: 'Sansita';\\n\\ttext-transform: uppercase;\\n}\\n.content{\\n\\tmargin: 0 auto;\\n\\tmax-width: 90%;\\n\\twidth: 720px;\\n\\theight: 100%;\\n}\\nmain{\\n\\tpadding: 1% 0;\\n\\tposition: relative;\\n\\tbackground: #f5f5f5;\\n\\tbox-shadow: 0px -10px 60px rgba(0,0,0,0.25);\\n}\\nbutton{\\n border: 3px solid #FFF;\\n background: transparent;\\n color: #FFF;\\n font-size: 1rem;\\n border-radius: 5px;\\n height: 40px;\\n line-height: 40px;\\n padding: 0 20px;\\n text-transform: uppercase;\\n transition: all ease-in-out .3s;\\n}\\nbutton:hover{\\n\\tbackground: #FFF;\\n\\tcolor: #000;\\n\\topacity: .7;\\n}\\n\\nfooter p{\\n\\ttext-align: center;\\n\\tfont-size: .8rem;\\n\\tfont-weight: bold;\\n\\tcolor: #ccc;\\n}\\nfooter a{color: #ccc;}\\n\\/* --- Important Pen Styles --- *\\/\\n\\n.zoom{\\n\\toverflow: hidden;\\n padding-bottom: 60%;\\n\\tbackground-image: url(https:\\/\\/s3-us-west-2.amazonaws.com\\/s.cdpn.io\\/927610\\/pexels-photo-587409.jpeg);\\n\\tbackground-size: 100% 100%;\\n\\tbackground-position: top center;\\t\\n}\\n.title{\\n\\tposition: absolute;\\n\\ttop: 40%;\\n\\twidth: 100%;\\n}\\n.title h1{\\n\\ttext-align: center;\\n\\tcolor: #FFF;\\n}\\n@media (max-width: 1024px) {\\n\\t.content{text-align: justify;}\\n\\t.zoom{\\n\\t\\toverflow: hidden;\\n \\tpadding-bottom: 60%;\\n\\t}\\n}\",\"parent\":5191220,\"js\":\"$(window).scroll(function() {\\n var scroll = $(window).scrollTop();\\n\\t$(\\\".zoom\\\").css({\\n\\t\\tbackgroundSize: (100 + scroll\\/5) + \\\"%\\\",\\n\\t\\ttop: -(scroll\\/10) + \\\"%\\\",\\n\\n\\t\\t\\/\\/Blur suggestion from @janwagner: https:\\/\\/codepen.io\\/janwagner\\/ in comments\\n\\t\\t\\/\\/\\\"-webkit-filter\\\": \\\"blur(\\\" + (scroll\\/200) + \\\"px)\\\",\\n\\t\\t\\/\\/filter: \\\"blur(\\\" + (scroll\\/200) + \\\"px)\\\"\\n\\t});\\n});\",\"html_pre_processor\":\"none\",\"css_pre_processor\":\"none\",\"js_pre_processor\":\"none\",\"html_classes\":\"\",\"css_starter\":\"neither\",\"css_prefix_free\":null,\"css_external\":null,\"js_library\":null,\"js_modernizr\":null,\"js_external\":null,\"created_at\":\"2016-11-20T16:10:12.000Z\",\"updated_at\":\"2018-05-23T19:14:46.000Z\",\"session_hash\":\"fa69e6d88bd272d0eb0b21b837d6d089\",\"title\":\"Hero Zoom on Scroll Using Background Size\",\"description\":\"Simple zoom effect using window scroll to adjust some CSS. \",\"slug_hash\":\"ObWGZw\",\"head\":\"<meta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1\\\">\",\"private\":false,\"slug_hash_private\":\"d58adcfe2d4eec061471bfe430e2250e\",\"has_animation\":false,\"css_pre_processor_lib\":\"\",\"checksum\":0,\"screenshot_uuid\":\"8ec363ea-08af-417e-bd85-2ceaecd43483\",\"team_id\":0,\"css_prefix\":\"autoprefixer\",\"template\":false,\"js_module\":false,\"deleted_at\":null,\"deleted_by_user_id\":null,\"hard_delete_at\":null,\"pen_hash\":null,\"hashid\":\"ObWGZw\"}"}