Skip to content

How to resize stat card on website? #1748

Answered by rickstaa
snowy-jaguar asked this question in Q&A
Discussion options

You must be logged in to vote

@SnowyJaguar1034 Thanks for your question. I noticed that you also asked this question in #1677 (reply in thread) but did not receive an answer. I will therefore post my reply in two places.

There are multiple ways to achieve the desired behaviour. The first way is by using the HTML width and height attributes. This is what I use in my readme. For more information on the available attributes see https://www.w3schools.com/tags/tag_img.asp:

<img height=200 width=200 src="https://github-readme-stats-git-master-rstaa-rickstaa.vercel.app/api/top-langs/?username=rickstaa&layout=compact&langs_count=10&hide_border=1&role=OWNER,COLLABORATOR&theme=dark#gh-dark-mode-only" alt="Rick Staa's Language s…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rickstaa
Comment options

rickstaa Aug 9, 2022
Collaborator

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