css border corner radius on hover code example Example: css hover rounded corners .class:hover{border-radius: 20%;}