-
-
Notifications
You must be signed in to change notification settings - Fork 0
Add dropdown demo #1
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
base: main
Are you sure you want to change the base?
Conversation
@jamesnw I have some style cleanup edits I thought would be easier to do locally. Could you grant me access here? |
@dvdherron Whoops, sorry- you should have access now! |
@stacyk This is ready for style review whenever you're ready |
src/dropdown/style.css
Outdated
ul { | ||
position-area: span-block-end inline-end; | ||
position-try: block-end span-inline-end; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dvdherron Is this the clearest way of selecting 2nd level menus? I'm wondering if the selector should be .menu
here as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I thought I saw the .menu
selector on the submenus- but I didn't. Should there be?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, that's great! Thanks! I think that's clearer than just basing it on semantics and hierarchy.
Run
npx http-server .
Open http://localhost:8080/src/dropdown