{"id":577,"date":"2017-09-18T20:49:05","date_gmt":"2017-09-18T20:49:05","guid":{"rendered":"https:\/\/psd2htmlconverter.com\/en\/blog\/?p=577"},"modified":"2018-01-02T21:50:47","modified_gmt":"2018-01-02T21:50:47","slug":"create-css-for-hover-active-visited-selected-states-of-layers","status":"publish","type":"post","link":"https:\/\/blog.psd2htmlconverter.com\/en\/2017\/09\/18\/create-css-for-hover-active-visited-selected-states-of-layers\/","title":{"rendered":"Create CSS for hover, active, visited, selected states of layers"},"content":{"rendered":"<p>Such HTML elements of web page as links, buttons, input forms, etc. often have different visual states for events like &#8220;element is hovered by\u00a0 mouse pointer&#8221;, &#8220;element is clicked&#8221;, &#8220;link was visited&#8221;, &#8220;element is active&#8221;.\u00a0 For every state layer may have different CSS styles.<!--more--><\/p>\n<p>CSS provides pseudo-classes :hover, :active, :visited to define styles for different states. State &#8216;selected&#8217; (for example, active item in navigation) is usually defined by &#8216;.selected&#8217; class on the corresponding element.<\/p>\n<p><a href=\"http:\/\/psd2htmlconverter.com\/ru\/convert-psd-to-html\/\" target=\"_blank\" rel=\"noopener\">PSD to HTML conversion service will automatically create CSS code<\/a> for these styles in case you prepare PSD template is a specific way which is described below.<\/p>\n<h6>Layers naming convention<\/h6>\n<p>Following tags may be added to names of both image and text layers.<\/p>\n<ol>\n<li>Use following tags to mark layers which represent corresponding state:\n<ul>\n<li>#normal &#8211; usual state of element,<\/li>\n<li>#hover &#8211; state when element is hovered by mouse cursor,<\/li>\n<li>#visited &#8211; state for already visited links (applicable only to links, see #link tag),<\/li>\n<li>#active &#8211; state when element is get clicked,<\/li>\n<li>#selected &#8211; specifies active element. Class .selected will be added to element marked with this tag.<\/li>\n<\/ul>\n<\/li>\n<li>Layers in different states should be located within the same layer group. They should either have same name (not taking tag itself into account, for example:\u00a0 &#8220;button#normal&#8221;, &#8220;button#hover&#8221;), or should overlay each other visually.<br \/>\nFor text layers, it may be either layers withing navigation group (i.e. group marked with #nav tag), or layers within unordered list (tag #ul). See example PSD files and HTML\/CSS code generated from them below.<\/li>\n<\/ol>\n<h6>Generated code<\/h6>\n<p>If image can be represented by CSS3 code, then conversion engine will represent different states by corresponding CSS code. Otherwise, conversion service will generate image sprite with images for every state &#8211; as a result, switching between states will always be performed immediately.<\/p>\n<p>Examples of PSD files and results of their conversion:<\/p>\n<ul>\n<li><a href=\"http:\/\/psd2htmlconverter.com\/files\/NavWithSelectedImageState.psd\">Psd file<\/a>, <a href=\"http:\/\/psd2htmlconverter.com\/files\/NavWithSelectedImageState\/index.html\" target=\"_blank\" rel=\"noopener\">HTML\/CSS code<\/a> , <a href=\"http:\/\/psd2htmlconverter.com\/files\/NavWithSelectedImageState.zip\">ZIP archive with source code<\/a>.<\/li>\n<li><a href=\"http:\/\/psd2htmlconverter.com\/files\/NavWithCssHoverImageAndHoverText.psd\">Psd file<\/a> , <a href=\"http:\/\/psd2htmlconverter.com\/files\/NavWithCssHoverImageAndHoverText\/index.html\" target=\"_blank\" rel=\"noopener\">HTML\/CSS code<\/a>, <a href=\"http:\/\/psd2htmlconverter.com\/files\/NavWithCssHoverImageAndHoverText.zip\">ZIP archive with source code<\/a>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Such HTML elements of web page as links, buttons, input forms, etc. often have different visual states for events like &#8220;element is hovered by\u00a0 mouse pointer&#8221;, &#8220;element is clicked&#8221;, &#8220;link was visited&#8221;, &#8220;element is active&#8221;.\u00a0 For every state layer may have different CSS styles.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-577","post","type-post","status-publish","format-standard","hentry","category-all"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"Such HTML elements of web page as links, buttons, input forms, etc. often have different visual states for events like &quot;element is hovered by mouse pointer&quot;, &quot;element is clicked&quot;, &quot;link was visited&quot;, &quot;element is active&quot;. For every state layer may have different CSS styles. CSS provides pseudo-classes :hover, :active, :visited to define styles for different\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"Alex\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/blog.psd2htmlconverter.com\/en\/2017\/09\/18\/create-css-for-hover-active-visited-selected-states-of-layers\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Blog about automated Photoshop to HTML\/CSS conversion | Blog of Psd 2 Html Converter developers\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Create CSS for hover, active, visited, selected states of layers | Blog about automated Photoshop to HTML\/CSS conversion\" \/>\n\t\t<meta property=\"og:description\" content=\"Such HTML elements of web page as links, buttons, input forms, etc. often have different visual states for events like &quot;element is hovered by mouse pointer&quot;, &quot;element is clicked&quot;, &quot;link was visited&quot;, &quot;element is active&quot;. For every state layer may have different CSS styles. CSS provides pseudo-classes :hover, :active, :visited to define styles for different\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/blog.psd2htmlconverter.com\/en\/2017\/09\/18\/create-css-for-hover-active-visited-selected-states-of-layers\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2017-09-18T20:49:05+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2018-01-02T21:50:47+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Create CSS for hover, active, visited, selected states of layers | Blog about automated Photoshop to HTML\/CSS conversion\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Such HTML elements of web page as links, buttons, input forms, etc. often have different visual states for events like &quot;element is hovered by mouse pointer&quot;, &quot;element is clicked&quot;, &quot;link was visited&quot;, &quot;element is active&quot;. For every state layer may have different CSS styles. CSS provides pseudo-classes :hover, :active, :visited to define styles for different\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/2017\\\/09\\\/18\\\/create-css-for-hover-active-visited-selected-states-of-layers\\\/#article\",\"name\":\"Create CSS for hover, active, visited, selected states of layers | Blog about automated Photoshop to HTML\\\/CSS conversion\",\"headline\":\"Create CSS for hover, active, visited, selected states of layers\",\"author\":{\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/author\\\/alex\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/#organization\"},\"datePublished\":\"2017-09-18T20:49:05+00:00\",\"dateModified\":\"2018-01-02T21:50:47+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/2017\\\/09\\\/18\\\/create-css-for-hover-active-visited-selected-states-of-layers\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/2017\\\/09\\\/18\\\/create-css-for-hover-active-visited-selected-states-of-layers\\\/#webpage\"},\"articleSection\":\"All\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/2017\\\/09\\\/18\\\/create-css-for-hover-active-visited-selected-states-of-layers\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/category\\\/all\\\/#listItem\",\"name\":\"All\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/category\\\/all\\\/#listItem\",\"position\":2,\"name\":\"All\",\"item\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/category\\\/all\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/2017\\\/09\\\/18\\\/create-css-for-hover-active-visited-selected-states-of-layers\\\/#listItem\",\"name\":\"Create CSS for hover, active, visited, selected states of layers\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/2017\\\/09\\\/18\\\/create-css-for-hover-active-visited-selected-states-of-layers\\\/#listItem\",\"position\":3,\"name\":\"Create CSS for hover, active, visited, selected states of layers\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/category\\\/all\\\/#listItem\",\"name\":\"All\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/#organization\",\"name\":\"Blog about automated Photoshop to HTML\\\/CSS conversion\",\"description\":\"Blog of Psd 2 Html Converter developers\",\"url\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/author\\\/alex\\\/#author\",\"url\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/author\\\/alex\\\/\",\"name\":\"Alex\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/2017\\\/09\\\/18\\\/create-css-for-hover-active-visited-selected-states-of-layers\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f6116c23917d8b63930c77aa8efb6f4e9ac316b3f56904aacfd5ab3e7432fcae?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Alex\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/2017\\\/09\\\/18\\\/create-css-for-hover-active-visited-selected-states-of-layers\\\/#webpage\",\"url\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/2017\\\/09\\\/18\\\/create-css-for-hover-active-visited-selected-states-of-layers\\\/\",\"name\":\"Create CSS for hover, active, visited, selected states of layers | Blog about automated Photoshop to HTML\\\/CSS conversion\",\"description\":\"Such HTML elements of web page as links, buttons, input forms, etc. often have different visual states for events like \\\"element is hovered by mouse pointer\\\", \\\"element is clicked\\\", \\\"link was visited\\\", \\\"element is active\\\". For every state layer may have different CSS styles. CSS provides pseudo-classes :hover, :active, :visited to define styles for different\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/2017\\\/09\\\/18\\\/create-css-for-hover-active-visited-selected-states-of-layers\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/author\\\/alex\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/author\\\/alex\\\/#author\"},\"datePublished\":\"2017-09-18T20:49:05+00:00\",\"dateModified\":\"2018-01-02T21:50:47+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/\",\"name\":\"Blog about automated Photoshop to HTML\\\/CSS conversion\",\"description\":\"Blog of Psd 2 Html Converter developers\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.psd2htmlconverter.com\\\/en\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Create CSS for hover, active, visited, selected states of layers | Blog about automated Photoshop to HTML\/CSS conversion","description":"Such HTML elements of web page as links, buttons, input forms, etc. often have different visual states for events like \"element is hovered by mouse pointer\", \"element is clicked\", \"link was visited\", \"element is active\". For every state layer may have different CSS styles. CSS provides pseudo-classes :hover, :active, :visited to define styles for different","canonical_url":"https:\/\/blog.psd2htmlconverter.com\/en\/2017\/09\/18\/create-css-for-hover-active-visited-selected-states-of-layers\/","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.psd2htmlconverter.com\/en\/2017\/09\/18\/create-css-for-hover-active-visited-selected-states-of-layers\/#article","name":"Create CSS for hover, active, visited, selected states of layers | Blog about automated Photoshop to HTML\/CSS conversion","headline":"Create CSS for hover, active, visited, selected states of layers","author":{"@id":"https:\/\/blog.psd2htmlconverter.com\/en\/author\/alex\/#author"},"publisher":{"@id":"https:\/\/blog.psd2htmlconverter.com\/en\/#organization"},"datePublished":"2017-09-18T20:49:05+00:00","dateModified":"2018-01-02T21:50:47+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/blog.psd2htmlconverter.com\/en\/2017\/09\/18\/create-css-for-hover-active-visited-selected-states-of-layers\/#webpage"},"isPartOf":{"@id":"https:\/\/blog.psd2htmlconverter.com\/en\/2017\/09\/18\/create-css-for-hover-active-visited-selected-states-of-layers\/#webpage"},"articleSection":"All"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.psd2htmlconverter.com\/en\/2017\/09\/18\/create-css-for-hover-active-visited-selected-states-of-layers\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/blog.psd2htmlconverter.com\/en#listItem","position":1,"name":"Home","item":"https:\/\/blog.psd2htmlconverter.com\/en","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.psd2htmlconverter.com\/en\/category\/all\/#listItem","name":"All"}},{"@type":"ListItem","@id":"https:\/\/blog.psd2htmlconverter.com\/en\/category\/all\/#listItem","position":2,"name":"All","item":"https:\/\/blog.psd2htmlconverter.com\/en\/category\/all\/","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.psd2htmlconverter.com\/en\/2017\/09\/18\/create-css-for-hover-active-visited-selected-states-of-layers\/#listItem","name":"Create CSS for hover, active, visited, selected states of layers"},"previousItem":{"@type":"ListItem","@id":"https:\/\/blog.psd2htmlconverter.com\/en#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/blog.psd2htmlconverter.com\/en\/2017\/09\/18\/create-css-for-hover-active-visited-selected-states-of-layers\/#listItem","position":3,"name":"Create CSS for hover, active, visited, selected states of layers","previousItem":{"@type":"ListItem","@id":"https:\/\/blog.psd2htmlconverter.com\/en\/category\/all\/#listItem","name":"All"}}]},{"@type":"Organization","@id":"https:\/\/blog.psd2htmlconverter.com\/en\/#organization","name":"Blog about automated Photoshop to HTML\/CSS conversion","description":"Blog of Psd 2 Html Converter developers","url":"https:\/\/blog.psd2htmlconverter.com\/en\/"},{"@type":"Person","@id":"https:\/\/blog.psd2htmlconverter.com\/en\/author\/alex\/#author","url":"https:\/\/blog.psd2htmlconverter.com\/en\/author\/alex\/","name":"Alex","image":{"@type":"ImageObject","@id":"https:\/\/blog.psd2htmlconverter.com\/en\/2017\/09\/18\/create-css-for-hover-active-visited-selected-states-of-layers\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/f6116c23917d8b63930c77aa8efb6f4e9ac316b3f56904aacfd5ab3e7432fcae?s=96&d=mm&r=g","width":96,"height":96,"caption":"Alex"}},{"@type":"WebPage","@id":"https:\/\/blog.psd2htmlconverter.com\/en\/2017\/09\/18\/create-css-for-hover-active-visited-selected-states-of-layers\/#webpage","url":"https:\/\/blog.psd2htmlconverter.com\/en\/2017\/09\/18\/create-css-for-hover-active-visited-selected-states-of-layers\/","name":"Create CSS for hover, active, visited, selected states of layers | Blog about automated Photoshop to HTML\/CSS conversion","description":"Such HTML elements of web page as links, buttons, input forms, etc. often have different visual states for events like \"element is hovered by mouse pointer\", \"element is clicked\", \"link was visited\", \"element is active\". For every state layer may have different CSS styles. CSS provides pseudo-classes :hover, :active, :visited to define styles for different","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/blog.psd2htmlconverter.com\/en\/#website"},"breadcrumb":{"@id":"https:\/\/blog.psd2htmlconverter.com\/en\/2017\/09\/18\/create-css-for-hover-active-visited-selected-states-of-layers\/#breadcrumblist"},"author":{"@id":"https:\/\/blog.psd2htmlconverter.com\/en\/author\/alex\/#author"},"creator":{"@id":"https:\/\/blog.psd2htmlconverter.com\/en\/author\/alex\/#author"},"datePublished":"2017-09-18T20:49:05+00:00","dateModified":"2018-01-02T21:50:47+00:00"},{"@type":"WebSite","@id":"https:\/\/blog.psd2htmlconverter.com\/en\/#website","url":"https:\/\/blog.psd2htmlconverter.com\/en\/","name":"Blog about automated Photoshop to HTML\/CSS conversion","description":"Blog of Psd 2 Html Converter developers","inLanguage":"en-US","publisher":{"@id":"https:\/\/blog.psd2htmlconverter.com\/en\/#organization"}}]},"og:locale":"en_US","og:site_name":"Blog about automated Photoshop to HTML\/CSS conversion | Blog of Psd 2 Html Converter developers","og:type":"article","og:title":"Create CSS for hover, active, visited, selected states of layers | Blog about automated Photoshop to HTML\/CSS conversion","og:description":"Such HTML elements of web page as links, buttons, input forms, etc. often have different visual states for events like &quot;element is hovered by mouse pointer&quot;, &quot;element is clicked&quot;, &quot;link was visited&quot;, &quot;element is active&quot;. For every state layer may have different CSS styles. CSS provides pseudo-classes :hover, :active, :visited to define styles for different","og:url":"https:\/\/blog.psd2htmlconverter.com\/en\/2017\/09\/18\/create-css-for-hover-active-visited-selected-states-of-layers\/","article:published_time":"2017-09-18T20:49:05+00:00","article:modified_time":"2018-01-02T21:50:47+00:00","twitter:card":"summary_large_image","twitter:title":"Create CSS for hover, active, visited, selected states of layers | Blog about automated Photoshop to HTML\/CSS conversion","twitter:description":"Such HTML elements of web page as links, buttons, input forms, etc. often have different visual states for events like &quot;element is hovered by mouse pointer&quot;, &quot;element is clicked&quot;, &quot;link was visited&quot;, &quot;element is active&quot;. For every state layer may have different CSS styles. CSS provides pseudo-classes :hover, :active, :visited to define styles for different"},"aioseo_meta_data":{"post_id":"577","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-02-08 12:06:48","updated":"2025-06-04 01:06:32","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.psd2htmlconverter.com\/en\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.psd2htmlconverter.com\/en\/category\/all\/\" title=\"All\">All<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tCreate CSS for hover, active, visited, selected states of layers\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/blog.psd2htmlconverter.com\/en"},{"label":"All","link":"https:\/\/blog.psd2htmlconverter.com\/en\/category\/all\/"},{"label":"Create CSS for hover, active, visited, selected states of layers","link":"https:\/\/blog.psd2htmlconverter.com\/en\/2017\/09\/18\/create-css-for-hover-active-visited-selected-states-of-layers\/"}],"_links":{"self":[{"href":"https:\/\/blog.psd2htmlconverter.com\/en\/wp-json\/wp\/v2\/posts\/577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.psd2htmlconverter.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.psd2htmlconverter.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.psd2htmlconverter.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.psd2htmlconverter.com\/en\/wp-json\/wp\/v2\/comments?post=577"}],"version-history":[{"count":4,"href":"https:\/\/blog.psd2htmlconverter.com\/en\/wp-json\/wp\/v2\/posts\/577\/revisions"}],"predecessor-version":[{"id":581,"href":"https:\/\/blog.psd2htmlconverter.com\/en\/wp-json\/wp\/v2\/posts\/577\/revisions\/581"}],"wp:attachment":[{"href":"https:\/\/blog.psd2htmlconverter.com\/en\/wp-json\/wp\/v2\/media?parent=577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.psd2htmlconverter.com\/en\/wp-json\/wp\/v2\/categories?post=577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.psd2htmlconverter.com\/en\/wp-json\/wp\/v2\/tags?post=577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}