</section>
C语言 最近学的,来试一试[脸红]
# include <stdio.h>
int sum(void)
{
int i;
int sum = 0;
for(i=1;i<101;++i)
{
sum = sum + i;
}
return sum;
}
int main(void)
{
printf("%d",sum());
return 0;
}
欢迎大佬指教[脸红]
<!-- Other element such as avatar -->
...
<!-- The presence indicator -->
.container {
position:relative;
}
.container__indicator {
/* Shown at the bottom right corner */
bottom: 0,
position:absolute;
right: 0;
transform: translate(50%, 50%);
/* Rounded border */
border-radius: 9999px;
height: 16px;
width: 16px;
/* Background color */
background-color: #FF4136;
}
<!-- Avatar item -->
<!-- Image -->
...
<!-- Repeat other avatars -->
...
.avatars {
display: flex;
}
.avatars__item {
/* Nagative margin make avatar overlap to previous one */
margin-left: -4px;
}
.avatars__image {
/* Add a white curve between avatars */
box-shadow: 0 0 0 4px #fff;
/* Center the content */
align-items: center;
display: flex;
justify-content: center;
/* Rounded border */
border-radius: 9999px;
}