• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

SharePoint: I how to create a custom dropdown style for css?

Hello. I know how to create a custom drop-down style (ribbon), but how can I do the same with css styles?
1 Solution
tolppaAuthor Commented:
Drop-down style = user can select hyperlink style using drop-down menu in ribbon.
The core for drop-down menu  are
:hover and display attribute.
for example:
li ul {display:none;}
li:hover ul (display: block;}
What is does, at start secondary ul is not displayed, but when you hover li as button, rules applies attribute to secondary ul and makes it appear.
Then you can style your li s and a s as you wish by using standard options, like color, font, border, position, etc.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now