Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在制作一个下拉导航栏,并且正在使用带有 display:block 的项目。如何使 display:block 正在修改的区域具有圆角?
应用一个border-radius:
border-radius
#block { display:block; border-radius: 10px; }
JSFiddle