当前位置:网站首页>Round avatar of user list and follow small blocks
Round avatar of user list and follow small blocks
2022-07-29 07:18:00 【Statichit static smash】
Effect display

First Realization of round head
.smallAvatar {
width: 70px;
height: 70px;
margin: auto;
position: absolute;
border:3px solid #cadee2;
border-radius: 50px;
}among smallAvatar It is used to place the avatar module class attribute
width,height: Avatar pictures adapt to size
margin: Put the picture in the middle of the module
position: absolute : Absolute position
boeder: Set the border thickness , Line type ( here solid It means solid line ), Color
boeder-radius: Fillet degree
The second important point is the location of the avatar module , We need to set the relative position , Make the avatar relative to the position of the business card it is in , Otherwise, the drag progress bar will appear , Card scrolling , The embarrassing situation that the avatar position remains unchanged .
.personBroad1{
width: 60px;
height: 60px;
position:relative; 《===!!!!
top:5px;
left:5px;
} 
边栏推荐
- ERROR 1045 (28000) Access denied for user ‘root‘@‘localhost‘解决方法
- [redis] redis development specifications and precautions
- Remote invocation of microservices
- 后缀自动机(SAM)讲解 + Luogu p3804【模板】后缀自动机 (SAM)
- 建木持续集成平台v2.5.2发布
- [C language brush leetcode] 2332. The latest time to get on the bus (m)
- ETL为什么经常变成ELT甚至LET?
- Kubernetes (五) ---------部署 Kubernetes Dashboard
- My personal website doesn't allow access to wechat, so I did this
- WPF简单登录页面的完成案例
猜你喜欢

Operator3-设计一个operator

JS chicken laying eggs and egg laying chickens. Who appeared earlier, object or function? Is function an instance of function?

DM data guard cluster setup

SSH password free login - two virtual machines establish password free channel two-way trust

MySQL----多表查询

MySQL 使用客户端以及SELECT 方式查看 BLOB 类型字段内容总结

2022-07-28:以下go语言代码输出什么?A:AA;B:AB;C:BA;D:BB。 package main import ( “fmt“ ) func main() { f

Personal blog system (with source code)

实现改变一段文字的部分颜色效果

数组的子集不能累加出的最小正数
随机推荐
MutationObserver文档学习
gin 路由,参数,输出
ETL为什么经常变成ELT甚至LET?
ERROR 1045 (28000) Access denied for user ‘root‘@‘localhost‘解决方法
[Charles' daily problems] when you open Charles, you can't use nails
微服务远程调用
2022-07-28:以下go语言代码输出什么?A:AA;B:AB;C:BA;D:BB。 package main import ( “fmt“ ) func main() { f
CMOS芯片制造全工艺流程
pytest合集(7)— 参数化
WPF简单登录页面的完成案例
pytorch的技巧记录
Implementation of book borrowing management system based on C language
Remote invocation of microservices
【C语言刷LeetCode】1054. 距离相等的条形码(M)
VMware16创建虚拟机:Win11无法安装
Flink实时仓库-DWD层(kafka-关联mysql的lookup join)模板代码
Unity sends a post request to the golang server for parsing and returning
gin 模版
我的个人网站不让接入微信登录,于是我做了这个
【OpenGL】着色器(Shader)的使用