Skip to content
Discussion options

You must be logged in to vote

PicoCSS is designed to be a starting point. You could use only PicoCSS and nothing else but then it is up to you to make sure the layout fits the rules.

In this case, if you would inspect the applied styles, you would see that the PicoCSS website has custom styling. Specifically:

body>header .container {
    display: flex;
    align-items: center;
    justify-content: space-between
}

body>header .container>a {
    margin: calc(var(--pico-spacing) * -.125) calc(var(--pico-spacing) * -.25);
    padding: calc(var(--pico-spacing) * .125) calc(var(--pico-spacing) * .25);
    border-radius: var(--pico-border-radius)
}

body>header .container>a svg.pico-logo {
    transform: translateY(-10%)
}
…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kvij
Comment options

@dday9
Comment options

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