{"id":6594,"date":"2014-01-09T08:07:54","date_gmt":"2014-01-09T07:07:54","guid":{"rendered":"http:\/\/www.wjst.de\/blog\/?p=6594"},"modified":"2014-01-09T09:13:35","modified_gmt":"2014-01-09T08:13:35","slug":"how-browsers-render-elements","status":"publish","type":"post","link":"https:\/\/www.wjst.de\/blog\/sciencesurf\/2014\/01\/how-browsers-render-elements\/","title":{"rendered":"How browsers render elements"},"content":{"rendered":"<p>This is a bit of mystery for me but fortunately there is some information out there, mainly the article <a href=\"http:\/\/taligarsiel.com\/Projects\/howbrowserswork1.htm#Rendering_engines\">&#8220;How browsers work<\/a>&#8221; by Tali Garsiel.<br \/>\nI was a bit annoyed by the current <a href=\"http:\/\/twentyfourteendemo.wordpress.com\">Twentyfourteen WordPress Template<\/a> that renders first some lines before getting towards the final layout. I am experimenting therefore with <a href=\"http:\/\/www.the-art-of-web.com\/css\/3d-transforms\/\">keyframe<\/a> encapsulating as I did not find any better method.<!--more--><br \/>\nTo influence the rendering behaviour I put the whole page in a box like being described by <a href=\"http:\/\/graphicfusiondesign.com\/blog\/design\/creating-fancy-css3-fade-in-animations-on-page-load\/\">graphicfusiondesign.com <\/a><\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n&lt;div class=&quot;box fade-in&quot;&gt;look at me&lt;\/div&gt;\r\n<\/pre>\n<p>The CSS looks like<\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n\/* keyframes define start and the end state of our box *\/\r\n@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }\r\n@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }\r\n@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }\r\n\r\n.fade-in {\r\n    opacity:0;  \/* invisible upon start *\/\r\n    -webkit-animation:fadeIn ease-in 1;  \/* call our keyframe, ease-in and repeat 1 time *\/\r\n    -moz-animation:fadeIn ease-in 1;\r\n    animation:fadeIn ease-in 1;\r\n    -webkit-animation-fill-mode:forwards;  \/* stay at last keyframe value *\/\r\n    -moz-animation-fill-mode:forwards;\r\n    animation-fill-mode:forwards;\r\n    -webkit-animation-duration:1s;\r\n    -moz-animation-duration:1s;\r\n    animation-duration:1s;\r\n}\r\n<\/pre>\n\n<p>&nbsp;<\/p>\n<div class=\"bottom-note\">\n  <span class=\"mod1\">CC-BY-NC Science Surf , accessed 03.04.2026<\/span>\n <\/div>","protected":false},"excerpt":{"rendered":"<p>This is a bit of mystery for me but fortunately there is some information out there, mainly the article &#8220;How browsers work&#8221; by Tali Garsiel. I was a bit annoyed by the current Twentyfourteen WordPress Template that renders first some lines before getting towards the final layout. I am experimenting therefore with keyframe encapsulating as &hellip; <a href=\"https:\/\/www.wjst.de\/blog\/sciencesurf\/2014\/01\/how-browsers-render-elements\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How browsers render elements<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[2822,2823,2824],"class_list":["post-6594","post","type-post","status-publish","format-standard","hentry","category-computer-software","tag-css","tag-html","tag-keyframe"],"_links":{"self":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/6594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/comments?post=6594"}],"version-history":[{"count":8,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/6594\/revisions"}],"predecessor-version":[{"id":6603,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/6594\/revisions\/6603"}],"wp:attachment":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/media?parent=6594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/categories?post=6594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/tags?post=6594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}