{"id":669,"date":"2019-12-08T09:03:44","date_gmt":"2019-12-08T14:03:44","guid":{"rendered":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/?p=669"},"modified":"2019-12-08T09:23:46","modified_gmt":"2019-12-08T14:23:46","slug":"styling-placeholder-text","status":"publish","type":"post","link":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/2019\/styling-placeholder-text\/","title":{"rendered":"Styling placeholder text"},"content":{"rendered":"<p>Not something new I learned, more something I keep forgetting over and over.<\/p>\n<p>::placeholder to change how placeholders look. You&#8217;d think I&#8217;d remember something so obvious&#8230;<br \/>\nIf it&#8217;s not working, <a href=\"https:\/\/css-tricks.com\/almanac\/selectors\/p\/placeholder\/\" target=\"_blank\" rel=\"noopener noreferrer\">this post over at CSS-Tricks<\/a> may have some more information on why.<\/p>\n<p>(Actually, what that post taught me, is that there is a difference between pseudo elements and pseudo classes!)<\/p>\n<hr \/>\n<div class=\"_3bJ2H CHExY\">\n<div class=\"_1l8RX _1ByhS\">Photo by <a href=\"https:\/\/unsplash.com\/@vivekxr?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText\" target=\"_blank\" rel=\"noopener noreferrer\">Vivek Sharma<\/a> on <a href=\"https:\/\/unsplash.com\/collections\/6796805\/pseudo-world-photoseries?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText\" target=\"_blank\" rel=\"noopener noreferrer\">Unsplash<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Not something new I learned, more something I keep forgetting over and over. ::placeholder to change how placeholders look. You&#8217;d think I&#8217;d remember something so obvious&#8230; If it&#8217;s not working, this post over at CSS-Tricks may have some more information on why. (Actually, what that post taught me, is that there is a difference between &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Styling placeholder text\" class=\"read-more button\" href=\"https:\/\/www.blindemanwebsites.com\/today-i-learned\/2019\/styling-placeholder-text\/#more-669\" aria-label=\"Read more about Styling placeholder text\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[17,81,94,18],"class_list":["post-669","post","type-post","status-publish","format-standard","hentry","category-new-things","tag-css","tag-css-tricks","tag-forms","tag-pseudo-elements","infinite-scroll-item"],"_links":{"self":[{"href":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/wp-json\/wp\/v2\/posts\/669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/wp-json\/wp\/v2\/comments?post=669"}],"version-history":[{"count":0,"href":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/wp-json\/wp\/v2\/posts\/669\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/wp-json\/wp\/v2\/media?parent=669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/wp-json\/wp\/v2\/categories?post=669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.blindemanwebsites.com\/today-i-learned\/wp-json\/wp\/v2\/tags?post=669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}