This content originally appeared on Writing on SaraSoueidan.com and was authored by Writing on SaraSoueidan.com
You may or may not have used the :target selector before; and you may or may not have used it to show and hide elements without having to resort to JavaScript to handle this event for you. This article I wrote for the Adobe Dreamweaver team blog, serves as a short introduction to the :target selector, showing how you can use it to create JavaScript-less UI effects—for example, overlays, modals, etc.
This content originally appeared on Writing on SaraSoueidan.com and was authored by Writing on SaraSoueidan.com
Writing on SaraSoueidan.com | Sciencx (2015-01-24T00:00:00+00:00) Using The CSS :target Selector To Create JavaScript-less UI Effects. Retrieved from https://www.scien.cx/2015/01/24/using-the-css-target-selector-to-create-javascript-less-ui-effects/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.