{"id":1836,"date":"2015-01-28T09:01:42","date_gmt":"2015-01-28T09:01:42","guid":{"rendered":"http:\/\/www.webhozz.com\/blog\/?p=1836"},"modified":"2019-06-25T14:18:05","modified_gmt":"2019-06-25T14:18:05","slug":"prefix-web-browser","status":"publish","type":"post","link":"https:\/\/www.webhozz.com\/blog\/prefix-web-browser\/","title":{"rendered":"Prefix Web Browser"},"content":{"rendered":"<p><a href=\"http:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2015\/01\/CSS_prefix.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"  wp-image-1837 aligncenter\" src=\"http:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2015\/01\/CSS_prefix-300x125.png\" alt=\"CSS_prefix\" width=\"605\" height=\"252\" srcset=\"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2015\/01\/CSS_prefix-300x125.png 300w, https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2015\/01\/CSS_prefix.png 600w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/><\/a><\/p>\n<p>Halo teman-teman WebHozz, kali ini kita akan mencoba mencari tahu apa itu prefix pada browser? Tentunya teman-teman pernah mengalami saat membuat atau mendesain website, ketika kita ingin menjalankan efek-efek tertentu seperti transform, translated atau yang lainnya tetapi tidak bisa berjalan di semua browser atau mengalami inkompabilitas. Nah biasanya pada CSS kita berikan prefix, nah apa itu prefix?<\/p>\n<p><!--more-->Dengan memberikan prefix pada sourcecode css yang kita buat, tentunya efek yang kita berikan akan berjalan disemua browser.<\/p>\n<p><strong><em>Prefix itu sendiri merupakan kode tertentu yang biasanya digunakan di depan sourcecode atau sintaks yang ingin kita jalankan.<\/em> <\/strong>Tentunya yang kita bahas kali ini prefix pada browser, ketika kita ingin membuat efek dapat berjalan pada semua browser, kita menambahkan prefix atau beberapa skrip karena setiap browser berbeda-beda. Agar kompatibilitasnya terjaga. Sebagai contoh browser (<strong>Safari dan Chrome<\/strong>) memiliki prefix -webkit-, <strong>Firefox<\/strong> memiliki prefix -moz-, dan <strong>Opera<\/strong> dengan prefix -o-, nah disini bisa kita lihat setiap vendor memiliki standar sendiri.<\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n\/*border-radius*\/\r\n-webkit-border-radius:25px;\r\n-moz-border-radius:25px;\r\n-o-border-radius:25px;\r\nborder-radius:25px;\r\n<\/pre>\n<p>Sebagai contoh, silahkan teman-teman WebHozz buat file html seperti dibawah ini:<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;body&gt;\r\n    &lt;div id=&quot;content&quot;&gt;\r\n        &lt;h1&gt;CROSS BROWSER&lt;\/h1&gt;\r\n    &lt;\/div&gt;\r\n&lt;\/body&gt;\r\n<\/pre>\n<p>Untuk CSS, silahkan buat seperti ini:<\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n&lt;style&gt;\r\n        #content{\r\n\r\n            width:200px;\r\n\r\n            height:400px;\r\n\r\n            \/*border-radius*\/\r\n\r\n            -webkit-border-radius:15px;\r\n    \r\n            -moz-border-radius:15px;\r\n    \r\n            -o-border-radius:15px;\r\n    \r\n            border-radius:15px;\r\n\r\n            \/*box-shadow*\/\r\n\r\n            -webkit-box-shadow:0 0 5px black;\r\n\r\n            -moz-box-shadow:0 0 5px black;  \r\n\r\n            -o-box-shadow:0 0 5px black;\r\n\r\n            box-shadow:0 0 5px black;\r\n\r\n            background:#1D1D1D;\r\n\r\n        }\r\n      h1{\r\n            color: #ffffff;\r\n        }\r\n    &lt;\/style&gt;\r\n<\/pre>\n<p>Kita tidak mungkin membuat pengunjung website yang kita buat, agar menggunakan web browser tertentu (memaksa), untuk itulah kita bisa menggunakan prefix tadi. Prefix-prefix tadi kita tempatkan pada baris di CSS kita ya teman-teman.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Halo teman-teman WebHozz, kali ini kita akan mencoba mencari tahu apa itu prefix pada browser? Tentunya teman-teman pernah mengalami saat membuat atau mendesain website, ketika<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[275,32,13,114,250,12,9,243,199,2,10],"class_list":["post-1836","post","type-post","status-publish","format-standard","hentry","category-belajar-web-design","tag-belajar-web-desain","tag-belajar-web-design-2","tag-belajar-website","tag-css","tag-css3","tag-desain-website","tag-belajar-html","tag-html-5","tag-html5","tag-kursus-web-design","tag-web-design"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Prefix Web Browser - WebHozz Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webhozz.com\/blog\/prefix-web-browser\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Prefix Web Browser - WebHozz Blog\" \/>\n<meta property=\"og:description\" content=\"Halo teman-teman WebHozz, kali ini kita akan mencoba mencari tahu apa itu prefix pada browser? Tentunya teman-teman pernah mengalami saat membuat atau mendesain website, ketika\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhozz.com\/blog\/prefix-web-browser\/\" \/>\n<meta property=\"og:site_name\" content=\"WebHozz Blog\" \/>\n<meta property=\"article:published_time\" content=\"2015-01-28T09:01:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-06-25T14:18:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2015\/01\/CSS_prefix.png\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"250\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/prefix-web-browser\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/prefix-web-browser\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#\\\/schema\\\/person\\\/ad1c5822a60b5b228c5ceda20e439fea\"},\"headline\":\"Prefix Web Browser\",\"datePublished\":\"2015-01-28T09:01:42+00:00\",\"dateModified\":\"2019-06-25T14:18:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/prefix-web-browser\\\/\"},\"wordCount\":292,\"publisher\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/prefix-web-browser\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.webhozz.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/01\\\/CSS_prefix-300x125.png\",\"keywords\":[\"belajar web desain\",\"belajar web design\",\"belajar website\",\"css\",\"css3\",\"desain website\",\"HTML\",\"html 5\",\"html5\",\"kursus web design\",\"web design\"],\"articleSection\":[\"Belajar Web Design\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/prefix-web-browser\\\/\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/prefix-web-browser\\\/\",\"name\":\"Prefix Web Browser - WebHozz Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/prefix-web-browser\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/prefix-web-browser\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.webhozz.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/01\\\/CSS_prefix-300x125.png\",\"datePublished\":\"2015-01-28T09:01:42+00:00\",\"dateModified\":\"2019-06-25T14:18:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/prefix-web-browser\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/prefix-web-browser\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/prefix-web-browser\\\/#primaryimage\",\"url\":\"http:\\\/\\\/www.webhozz.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/01\\\/CSS_prefix-300x125.png\",\"contentUrl\":\"http:\\\/\\\/www.webhozz.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/01\\\/CSS_prefix-300x125.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/prefix-web-browser\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Prefix Web Browser\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/\",\"name\":\"WebHozz Blog\",\"description\":\"Kursus Web &amp; Android di Jakarta Bandung\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#organization\",\"name\":\"WebHozz\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/logo-persegi.jpg\",\"contentUrl\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/logo-persegi.jpg\",\"width\":442,\"height\":442,\"caption\":\"WebHozz\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#\\\/schema\\\/person\\\/ad1c5822a60b5b228c5ceda20e439fea\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bff35e4083f3870e2f911c4437e788147d340f274268d361dd7e1cf20bebb156?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bff35e4083f3870e2f911c4437e788147d340f274268d361dd7e1cf20bebb156?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bff35e4083f3870e2f911c4437e788147d340f274268d361dd7e1cf20bebb156?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/author\\\/putralucio\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Prefix Web Browser - WebHozz Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webhozz.com\/blog\/prefix-web-browser\/","og_locale":"en_US","og_type":"article","og_title":"Prefix Web Browser - WebHozz Blog","og_description":"Halo teman-teman WebHozz, kali ini kita akan mencoba mencari tahu apa itu prefix pada browser? Tentunya teman-teman pernah mengalami saat membuat atau mendesain website, ketika","og_url":"https:\/\/www.webhozz.com\/blog\/prefix-web-browser\/","og_site_name":"WebHozz Blog","article_published_time":"2015-01-28T09:01:42+00:00","article_modified_time":"2019-06-25T14:18:05+00:00","og_image":[{"width":600,"height":250,"url":"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2015\/01\/CSS_prefix.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webhozz.com\/blog\/prefix-web-browser\/#article","isPartOf":{"@id":"https:\/\/www.webhozz.com\/blog\/prefix-web-browser\/"},"author":{"name":"admin","@id":"https:\/\/www.webhozz.com\/blog\/#\/schema\/person\/ad1c5822a60b5b228c5ceda20e439fea"},"headline":"Prefix Web Browser","datePublished":"2015-01-28T09:01:42+00:00","dateModified":"2019-06-25T14:18:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhozz.com\/blog\/prefix-web-browser\/"},"wordCount":292,"publisher":{"@id":"https:\/\/www.webhozz.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.webhozz.com\/blog\/prefix-web-browser\/#primaryimage"},"thumbnailUrl":"http:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2015\/01\/CSS_prefix-300x125.png","keywords":["belajar web desain","belajar web design","belajar website","css","css3","desain website","HTML","html 5","html5","kursus web design","web design"],"articleSection":["Belajar Web Design"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.webhozz.com\/blog\/prefix-web-browser\/","url":"https:\/\/www.webhozz.com\/blog\/prefix-web-browser\/","name":"Prefix Web Browser - WebHozz Blog","isPartOf":{"@id":"https:\/\/www.webhozz.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webhozz.com\/blog\/prefix-web-browser\/#primaryimage"},"image":{"@id":"https:\/\/www.webhozz.com\/blog\/prefix-web-browser\/#primaryimage"},"thumbnailUrl":"http:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2015\/01\/CSS_prefix-300x125.png","datePublished":"2015-01-28T09:01:42+00:00","dateModified":"2019-06-25T14:18:05+00:00","breadcrumb":{"@id":"https:\/\/www.webhozz.com\/blog\/prefix-web-browser\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhozz.com\/blog\/prefix-web-browser\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhozz.com\/blog\/prefix-web-browser\/#primaryimage","url":"http:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2015\/01\/CSS_prefix-300x125.png","contentUrl":"http:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2015\/01\/CSS_prefix-300x125.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhozz.com\/blog\/prefix-web-browser\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhozz.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Prefix Web Browser"}]},{"@type":"WebSite","@id":"https:\/\/www.webhozz.com\/blog\/#website","url":"https:\/\/www.webhozz.com\/blog\/","name":"WebHozz Blog","description":"Kursus Web &amp; Android di Jakarta Bandung","publisher":{"@id":"https:\/\/www.webhozz.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhozz.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webhozz.com\/blog\/#organization","name":"WebHozz","url":"https:\/\/www.webhozz.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhozz.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2018\/04\/logo-persegi.jpg","contentUrl":"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2018\/04\/logo-persegi.jpg","width":442,"height":442,"caption":"WebHozz"},"image":{"@id":"https:\/\/www.webhozz.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.webhozz.com\/blog\/#\/schema\/person\/ad1c5822a60b5b228c5ceda20e439fea","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/bff35e4083f3870e2f911c4437e788147d340f274268d361dd7e1cf20bebb156?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/bff35e4083f3870e2f911c4437e788147d340f274268d361dd7e1cf20bebb156?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bff35e4083f3870e2f911c4437e788147d340f274268d361dd7e1cf20bebb156?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/www.webhozz.com\/blog\/author\/putralucio\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/posts\/1836","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/comments?post=1836"}],"version-history":[{"count":4,"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/posts\/1836\/revisions"}],"predecessor-version":[{"id":1843,"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/posts\/1836\/revisions\/1843"}],"wp:attachment":[{"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/media?parent=1836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/categories?post=1836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/tags?post=1836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}