Get Name#
Main Code#
Note that you need to replace Alex-Programer
with your own.
If you have customized styles, please adjust them accordingly.
header>div:nth-child(2)>div:nth-child(2) {
padding-bottom: 200px;
background: url(https://xlog-card.vercel.app/api/Alex-Programer?theme=light) no-repeat;
background-position: bottom;
}
html.dark header>div:nth-child(2)>div:nth-child(2) {
background: url(https://xlog-card.vercel.app/api/Alex-Programer?theme=dark) no-repeat;
background-position: bottom;
}
@media only screen and (max-width: 768px) {
header>div:nth-child(2)>div:nth-child(2),
html.dark header>div:nth-child(2)>div:nth-child(2) {
background-size: contain;
padding-bottom: 110px;
}
}
Display Effect#
Supplementary#
You can adjust the items to be displayed on the card by yourself. You can refer to https://xlog-card.vercel.app/ for more information.