Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating more complex content for items #138

Open
mehdizj2000 opened this issue Aug 20, 2018 · 0 comments
Open

Creating more complex content for items #138

mehdizj2000 opened this issue Aug 20, 2018 · 0 comments

Comments

@mehdizj2000
Copy link

mehdizj2000 commented Aug 20, 2018

I am not expert in frontend development. For one of my projects I wanted to use a dropdown and fill it with multiple divs. as I checked the css I saw there are just label and a are defined to be accepted as items. I added some styles and it works for me.

I wanted to upload my changes but because I don't know any thing about sass and other frontend stuffs I add it here:

jquery.dropdown.zip

sample html code:

<div id="jq-dropdown-1" class="jq-dropdown jq-dropdown-relative">
  <ul class="jq-dropdown-content">
    <li>
      <div class="jq-dropdown-item">
        <div style="float: left; padding-right: 5px" class="some_img"></div>
        <div style="float:right; padding-left: 5x">name</div>
      </div>
     </li>
      <li>
      <div class="jq-dropdown-item">
        <div style="float: left; padding-right: 5px" class="some_img"></div>
        <div style="float:right; padding-left: 5x">name1</div>
      </div>
     </li>
      <li>
      <div class="jq-dropdown-item">
        <div style="float: left; padding-right: 5px" class="some_img"></div>
        <div style="float:right; padding-left: 5x">name2</div>
      </div>
     </li>
  </ul>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant