Skip to content
Discussion options

You must be logged in to vote

You can align any text to the right simply by setting text-align: right; in your CSS file. In some cases you may also need margin-left: auto; or justify-content: flex-end;. Pico provides a very nice set of defaults but you'll still need to add custom CSS for specific use cases.

Also, just FYI, W3 Schools is a notoriously unreliable place to get information. I would recommend sites like css-tricks.com, developer.mozilla.org, web.dev/learn/css/, or pretty much anything that isn't W3 Schools.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dev-willis
Comment options

Answer selected by MarcusE1W
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