1<a href="#" class="close">
2
3<style>
4.close {
5 position: absolute;
6 right: 32px;
7 top: 32px;
8 width: 32px;
9 height: 32px;
10 opacity: 0.3;
11}
12.close:hover {
13 opacity: 1;
14}
15.close:before, .close:after {
16 position: absolute;
17 left: 15px;
18 content: ' ';
19 height: 33px;
20 width: 2px;
21 background-color: #333;
22}
23.close:before {
24 transform: rotate(45deg);
25}
26.close:after {
27 transform: rotate(-45deg);
28}
29<style>