XHTMLforum

XHTMLforum (http://xhtmlforum.de/index.php)
-   CSS (http://xhtmlforum.de/forumdisplay.php?f=73)
-   -   CSS Navigationsmenu (http://xhtmlforum.de/showthread.php?t=72647)

isarc 04.02.2016 10:50

CSS Navigationsmenu
 
Hallo,

ich bin auf folgendes Tutorial aufmerksam geworden:
[CSS3] Ein horizontales Dropdown-Menü erstellen – olivergast.de


Allerdings stell ich mir die Frage wie die Icons realisiert wenn die Navigation dynamisch, sprich über das CMS läuft.

Kann ich das mit :nth-child lösen?

zb. Bei Nav-Punkt 1 soll Icon1.jpg,
bei Nav-Punkt 2 soll Icon2.jpg

usw...

Hat jemand einen Tipp?



Vielen Dank
Andreas

cloned 04.02.2016 11:21

"Das CMS" hat bestimmt auch eine Möglichkeit Klassen zu vergeben. Falls "Das CMS" das nicht kann, dann musst du es mit nth-child lösen, ja.


Alle Zeitangaben in WEZ +2. Es ist jetzt 15:51 Uhr.

Powered by vBulletin® Version 3.8.11 (Deutsch)
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

© Dirk H. 2003 - 2023