Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 237
  • 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

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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