Using The CSS :target Selector To Create JavaScript-less UI Effects

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, se…


This content originally appeared on Sara Soueidan — UI developer and was authored by Sara Soueidan

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 Sara Soueidan — UI developer and was authored by Sara Soueidan


Print Share Comment Cite Upload Translate Updates
APA

Sara Soueidan | 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-2/

MLA
" » Using The CSS :target Selector To Create JavaScript-less UI Effects." Sara Soueidan | Sciencx - Saturday January 24, 2015, https://www.scien.cx/2015/01/24/using-the-css-target-selector-to-create-javascript-less-ui-effects-2/
HARVARD
Sara Soueidan | Sciencx Saturday January 24, 2015 » Using The CSS :target Selector To Create JavaScript-less UI Effects., viewed ,<https://www.scien.cx/2015/01/24/using-the-css-target-selector-to-create-javascript-less-ui-effects-2/>
VANCOUVER
Sara Soueidan | Sciencx - » Using The CSS :target Selector To Create JavaScript-less UI Effects. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2015/01/24/using-the-css-target-selector-to-create-javascript-less-ui-effects-2/
CHICAGO
" » Using The CSS :target Selector To Create JavaScript-less UI Effects." Sara Soueidan | Sciencx - Accessed . https://www.scien.cx/2015/01/24/using-the-css-target-selector-to-create-javascript-less-ui-effects-2/
IEEE
" » Using The CSS :target Selector To Create JavaScript-less UI Effects." Sara Soueidan | Sciencx [Online]. Available: https://www.scien.cx/2015/01/24/using-the-css-target-selector-to-create-javascript-less-ui-effects-2/. [Accessed: ]
rf:citation
» Using The CSS :target Selector To Create JavaScript-less UI Effects | Sara Soueidan | Sciencx | https://www.scien.cx/2015/01/24/using-the-css-target-selector-to-create-javascript-less-ui-effects-2/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.