{"id":8420,"date":"2024-01-11T17:50:00","date_gmt":"2024-01-11T17:50:00","guid":{"rendered":"https:\/\/codehim.com\/?p=8420"},"modified":"2024-01-22T15:51:41","modified_gmt":"2024-01-22T10:51:41","slug":"horizontal-and-vertical-scroll-indicator-in-css","status":"publish","type":"post","link":"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/","title":{"rendered":"Horizontal and Vertical Scroll Indicator in CSS"},"content":{"rendered":"<p>Scroll indicators are visual elements commonly used in web design to enhance the user experience when scrolling through content. This CSS code implements a scroll indicator for both horizontal and vertical orientations. It enhances the user experience by providing visual cues for scrolling directions.<\/p>\n<p>The code utilizes CSS to create sticky indicators that appear and disappear as you scroll. It helps users navigate through content more efficiently.<\/p>\n<h2>How to Create Horizontal And Vertical Scroll Indicator in CSS<\/h2>\n<p>1. First of all, load the <a href=\"https:\/\/necolas.github.io\/normalize.css\/\" target=\"_blank\" rel=\"noopener\">Normalize CSS<\/a> by adding the following CDN link into the head tag of your HTML document. (Optional)<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/normalize\/5.0.0\/normalize.min.css\"&gt;\r\n<\/pre>\n<p>2. Create the HTML structure for your <a href=\"https:\/\/codehim.com\/others\/jquery-plugin-to-scroll-div-horizontally-with-mouse-wheel\/\" target=\"_blank\" rel=\"noopener\">scrollable content<\/a> as follows:<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;div class=\"controls\"&gt;\r\n  &lt;label for=\"vertical\"&gt;Vertical&lt;\/label&gt;\r\n  &lt;input type=\"radio\" checked name=\"orientation\" id=\"vertical\"\/&gt;\r\n  &lt;label for=\"horizontal\"&gt;Horizontal&lt;\/label&gt;\r\n  &lt;input type=\"radio\" name=\"orientation\" id=\"horizontal\"\/&gt;\r\n&lt;\/div&gt;\r\n&lt;section class=\"scroller\"&gt;\r\n  &lt;article&gt;\r\n    &lt;div class=\"indicator indicator--top\"&gt;\r\n      &lt;svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\"&gt;\r\n        &lt;path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 15.75l7.5-7.5 7.5 7.5\" \/&gt;\r\n      &lt;\/svg&gt;\r\n    &lt;\/div&gt;\r\n   &lt;!-- Your scrollable content goes here --&gt;\r\n&lt;div class=\"indicator indicator--bottom\"&gt;\r\n      &lt;svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\"&gt;\r\n        &lt;path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M19.5 8.25l-7.5 7.5-7.5-7.5\" \/&gt;\r\n      &lt;\/svg&gt;\r\n  &lt;\/article&gt;\r\n  &lt;\/div&gt;\r\n&lt;\/section&gt;<\/pre>\n<p>3. Now, add the following CSS styles to your project to design the scrollable boxes. You can modify the CSS rules to get the desired result.<\/p>\n<pre class=\"prettyprint linenums lang-css\">* {\r\n  box-sizing: border-box;\r\n}\r\n\r\nbody {\r\n  display: grid;\r\n  place-items: center;\r\n  min-height: 100vh;\r\n  background: hsl(0 0% 80%);\r\n  accent-color: hsl(250 90% 70%);\r\n}\r\n\r\n.controls {\r\n  position: absolute;\r\n  top: 1rem;\r\n  right: 1rem;\r\n  display: grid;\r\n  grid-template-columns: auto 1fr;\r\n  gap: 0 1rem;\r\n}\r\n\r\n.scroller {\r\n  width: 50ch;\r\n  height: 80vh;\r\n  overflow: auto;\r\n  position: relative;\r\n  background: canvas;\r\n  padding: 0 1rem;\r\n  resize: both;\r\n  color: hsl(0 0% 18%);\r\n  border-radius: 0.5rem;\r\n  box-shadow: 0 0 2rem -1rem hsl(0 0% 10% \/ 0.75);\r\n}\r\n\r\nsvg {\r\n  width: 24px;\r\n}\r\n\r\n.indicator {\r\n  position: sticky;\r\n  display: flex;\r\n  align-items: center;\r\n  justify-content: center;\r\n  background: canvas;\r\n  height: 48px;\r\n  \/* Scroll stuff *\/\r\n  --scroll-buffer: 2rem;\r\n  opacity: 0;\r\n  -webkit-animation: reveal both linear;\r\n          animation: reveal both linear;\r\n  animation-timeline: scroll(nearest);\r\n  animation-range: 0 var(--scroll-buffer);\r\n}\r\n\r\n.indicator--top {\r\n  top: 0;\r\n  border-bottom: 1px solid hsl(0 0% 0% \/ 0.5);\r\n}\r\n\r\n:root:has(#horizontal:checked) article {\r\n  gap: 2rem;\r\n  display: flex;\r\n  align-items: center;\r\n  height: 100%;\r\n  width: 800vw;\r\n}\r\n\r\n:root:has(#horizontal:checked) article p {\r\n  flex: 1 0 100cqi;\r\n  display: grid;\r\n  place-items: center;\r\n  padding: 4rem;\r\n  scroll-snap-align: center;\r\n}\r\n\r\n:root:has(#horizontal:checked) .scroller {\r\n  padding: 1rem 0;\r\n  overflow-x: auto;\r\n  -ms-scroll-snap-type: x mandatory;\r\n      scroll-snap-type: x mandatory;\r\n}\r\n\r\n:root:has(#horizontal:checked) .indicator--bottom svg,\r\n:root:has(#horizontal:checked) .indicator--top svg {\r\n  rotate: -90deg;\r\n}\r\n\r\n:root:has(#horizontal:checked) .indicator {\r\n  height: 100%;\r\n  width: 2rem;\r\n  position: absolute;\r\n  animation-timeline: --article;\r\n  -webkit-clip-path: inset(2rem 0 2rem 0);\r\n          clip-path: inset(2rem 0 2rem 0);\r\n}\r\n\r\n:root:has(#horizontal:checked) .indicator--top {\r\n  border-bottom: none;\r\n  align-self: flex-start;\r\n  left: 0;\r\n  border-right: 1px solid hsl(0 0% 0% \/ 0.5);\r\n}\r\n\r\n\r\n:root:has(#horizontal:checked) .scroller {\r\n  container-type: inline-size;\r\n}\r\n\r\n.indicator--bottom {\r\n  bottom: 0;\r\n  border-top: 1px solid hsl(0 0% 0% \/ 0.5);\r\n  animation-range: calc(100% - var(--scroll-buffer)) 100%;\r\n  animation-direction: reverse;\r\n}\r\n\r\n:root:has(#horizontal:checked) .indicator--bottom {\r\n  right: 0;\r\n  bottom: unset;\r\n  border-left: 1px solid hsl(0 0% 0% \/ 0.5);\r\n  border-top: none;\r\n}\r\n\r\n:root:has(#horizontal:checked) article {\r\n  scroll-timeline: --article;\r\n  scroll-timeline-axis: inline;\r\n  width: 100%;\r\n  overflow: auto;\r\n  -ms-scroll-snap-type: x mandatory;\r\n      scroll-snap-type: x mandatory;\r\n}\r\n\r\n@-webkit-keyframes reveal {\r\n  to {\r\n    opacity: 1;\r\n  }\r\n}\r\n\r\n@keyframes reveal {\r\n  to {\r\n    opacity: 1;\r\n  }\r\n}<\/pre>\n<p>4. To make the scroll indicators work based on the user&#8217;s scrolling direction, you&#8217;ll need to use <a href=\"https:\/\/github.com\/flackr\/scroll-timeline\" target=\"_blank\" rel=\"noopener\">Scroll Timeline JS<\/a>. Add the following CDN link (just before closing the body tag) to toggle the visibility of the vertical and horizontal indicators:<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;script src='https:\/\/flackr.github.io\/scroll-timeline\/dist\/scroll-timeline.js'&gt;&lt;\/script&gt;<\/pre>\n<p>That&#8217;s all! hopefully, you have successfully created horizontal and vertical scroll indicators. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Scroll indicators are visual elements commonly used in web design to enhance the user experience when scrolling through content. This&#8230;<\/p>\n","protected":false},"author":1,"featured_media":8428,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[63],"tags":[],"class_list":["post-8420","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-html5-css3"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Horizontal and Vertical Scroll Indicator in CSS &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a Horizontal and Vertical Scroll Indicator in CSS. You can view demo and download the source code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Horizontal and Vertical Scroll Indicator in CSS &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a Horizontal and Vertical Scroll Indicator in CSS. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/\" \/>\n<meta property=\"og:site_name\" content=\"CodeHim\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codehimofficial\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-11T17:50:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T10:51:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Horizontal-and-Vertical-Scroll-Indicator-in-CSS.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"960\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Asif Mughal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:site\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Asif Mughal\" \/>\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:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"Horizontal and Vertical Scroll Indicator in CSS\",\"datePublished\":\"2024-01-11T17:50:00+00:00\",\"dateModified\":\"2024-01-22T10:51:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/\"},\"wordCount\":208,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Horizontal-and-Vertical-Scroll-Indicator-in-CSS.png\",\"articleSection\":[\"HTML5 &amp; CSS3\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/\",\"url\":\"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/\",\"name\":\"Horizontal and Vertical Scroll Indicator in CSS &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Horizontal-and-Vertical-Scroll-Indicator-in-CSS.png\",\"datePublished\":\"2024-01-11T17:50:00+00:00\",\"dateModified\":\"2024-01-22T10:51:41+00:00\",\"description\":\"Here is a free code snippet to create a Horizontal and Vertical Scroll Indicator in CSS. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Horizontal-and-Vertical-Scroll-Indicator-in-CSS.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Horizontal-and-Vertical-Scroll-Indicator-in-CSS.png\",\"width\":1280,\"height\":960,\"caption\":\"Horizontal and Vertical Scroll Indicator in CSS\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HTML5 &amp; CSS3\",\"item\":\"https:\/\/codehim.com\/category\/html5-css3\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Horizontal and Vertical Scroll Indicator in CSS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/codehim.com\/#website\",\"url\":\"https:\/\/codehim.com\/\",\"name\":\"CodeHim\",\"description\":\"Web Design Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"alternateName\":\"Web Design Codes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/codehim.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/codehim.com\/#organization\",\"name\":\"CodeHim - Web Design Code & Scripts\",\"url\":\"https:\/\/codehim.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"contentUrl\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"width\":280,\"height\":280,\"caption\":\"CodeHim - Web Design Code & Scripts\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/codehimofficial\",\"https:\/\/x.com\/CodeHimOfficial\",\"https:\/\/www.instagram.com\/codehim\/\",\"https:\/\/www.linkedin.com\/company\/codehim\",\"https:\/\/co.pinterest.com\/codehim\/\",\"https:\/\/www.youtube.com\/@codehim\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\",\"name\":\"Asif Mughal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"caption\":\"Asif Mughal\"},\"description\":\"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.\",\"sameAs\":[\"https:\/\/codehim.com\"],\"url\":\"https:\/\/codehim.com\/author\/asif-mughal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Horizontal and Vertical Scroll Indicator in CSS &#8212; CodeHim","description":"Here is a free code snippet to create a Horizontal and Vertical Scroll Indicator in CSS. You can view demo and download the source code.","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:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/","og_locale":"en_US","og_type":"article","og_title":"Horizontal and Vertical Scroll Indicator in CSS &#8212; CodeHim","og_description":"Here is a free code snippet to create a Horizontal and Vertical Scroll Indicator in CSS. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-11T17:50:00+00:00","article_modified_time":"2024-01-22T10:51:41+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Horizontal-and-Vertical-Scroll-Indicator-in-CSS.png","type":"image\/png"}],"author":"Asif Mughal","twitter_card":"summary_large_image","twitter_creator":"@CodeHimOfficial","twitter_site":"@CodeHimOfficial","twitter_misc":{"Written by":"Asif Mughal","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"Horizontal and Vertical Scroll Indicator in CSS","datePublished":"2024-01-11T17:50:00+00:00","dateModified":"2024-01-22T10:51:41+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/"},"wordCount":208,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Horizontal-and-Vertical-Scroll-Indicator-in-CSS.png","articleSection":["HTML5 &amp; CSS3"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/","url":"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/","name":"Horizontal and Vertical Scroll Indicator in CSS &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Horizontal-and-Vertical-Scroll-Indicator-in-CSS.png","datePublished":"2024-01-11T17:50:00+00:00","dateModified":"2024-01-22T10:51:41+00:00","description":"Here is a free code snippet to create a Horizontal and Vertical Scroll Indicator in CSS. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Horizontal-and-Vertical-Scroll-Indicator-in-CSS.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Horizontal-and-Vertical-Scroll-Indicator-in-CSS.png","width":1280,"height":960,"caption":"Horizontal and Vertical Scroll Indicator in CSS"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/html5-css3\/horizontal-and-vertical-scroll-indicator-in-css\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"HTML5 &amp; CSS3","item":"https:\/\/codehim.com\/category\/html5-css3\/"},{"@type":"ListItem","position":3,"name":"Horizontal and Vertical Scroll Indicator in CSS"}]},{"@type":"WebSite","@id":"https:\/\/codehim.com\/#website","url":"https:\/\/codehim.com\/","name":"CodeHim","description":"Web Design Code Snippets","publisher":{"@id":"https:\/\/codehim.com\/#organization"},"alternateName":"Web Design Codes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codehim.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codehim.com\/#organization","name":"CodeHim - Web Design Code & Scripts","url":"https:\/\/codehim.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/","url":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","contentUrl":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","width":280,"height":280,"caption":"CodeHim - Web Design Code & Scripts"},"image":{"@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codehimofficial","https:\/\/x.com\/CodeHimOfficial","https:\/\/www.instagram.com\/codehim\/","https:\/\/www.linkedin.com\/company\/codehim","https:\/\/co.pinterest.com\/codehim\/","https:\/\/www.youtube.com\/@codehim"]},{"@type":"Person","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed","name":"Asif Mughal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","caption":"Asif Mughal"},"description":"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.","sameAs":["https:\/\/codehim.com"],"url":"https:\/\/codehim.com\/author\/asif-mughal\/"}]}},"views":1466,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/8420","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/comments?post=8420"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/8420\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/8428"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=8420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=8420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=8420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}