Skip to content

How to style UL child of a Div? (the UL is loaded from database) #1909

Answered by royvanv
elfeffe asked this question in Help
Discussion options

You must be logged in to vote

Assuming you are using a custom build, you can use the following code:

.parent li {
    @apply pl-4 text-orange-500; /* Or whatever classes you want to use. */
}

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@robbyrice
Comment options

@royvanv
Comment options

@robbyrice
Comment options

@elfeffe
Comment options

@robbyrice
Comment options

Answer selected by elfeffe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants