the custom property toggle trick<\/a>. <\/p>\n\n\n\nThat’s… wow. And yet, look how very little code it is.<\/p>\n","protected":false},"excerpt":{"rendered":"
Louis Lazaris breaks down some bonafide CSS trickery from Jane. The Pen shows off interactivity where: You have to press a special combination of keys on a keyboard. Then type a secret password. From there, a special message pops up on the screen. Easily JavaScript territory, but no, this is done here entirely in HTML […]<\/p>\n","protected":false},"author":3,"featured_media":318684,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"c2c_always_allow_admin_comments":false,"footnotes":"","jetpack_publicize_message":"Some bonafide CSS trickery that combines a ton of concepts into one single, concise bit of code.","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":[]},"categories":[17],"tags":[1506,1499,18903,1173,595],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/08\/keyboard-photo.png?fit=1200%2C600&ssl=1","jetpack-related-posts":[{"id":303953,"url":"https:\/\/css-tricks.com\/same-html-different-css\/","url_meta":{"origin":356142,"position":0},"title":"Same HTML, Different CSS","date":"February 19, 2020","format":false,"excerpt":"Ahmad Shadeed covers the idea of a card component that has a fixed set of semantic HTML with some BEMy classes on it. There is a title, author, image, and tags. Then he redesigns the card into five totally different designs without touching any of the HTML just the CSS.\u2026","rel":"","context":"In "Link"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/02\/same-html-different-css.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":155839,"url":"https:\/\/css-tricks.com\/html-imports\/","url_meta":{"origin":356142,"position":1},"title":"HTML Imports","date":"November 12, 2013","format":false,"excerpt":"Essentially a way to import a block of dependancies (scripts and styles) into an HTML document. It doesn't actually just plop the content from the referenced file where you call it though, like an @import does in CSS or and include does in a server side language. HTML could very\u2026","rel":"","context":"In "Link"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":351143,"url":"https:\/\/css-tricks.com\/__trashed-7\/","url_meta":{"origin":356142,"position":2},"title":"You don’t need external assets in an HTML file","date":"September 1, 2021","format":false,"excerpt":"A fun exercise from Terence Eden. You can send an HTML file over the wire including anything a website might need without requesting any other files. CSS and JavaScript are easy, because there are