• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 242
  • 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?
0
tolppa
Asked:
tolppa
1 Solution
 
tolppaAuthor Commented:
Drop-down style = user can select hyperlink style using drop-down menu in ribbon.
0
 
SSupremeCommented:
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.
0
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

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

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