/* link.css */ .link { position: absolute; border: 1px solid #ccc; background-color:…
- User
/* link.css */
.link { position: absolute; border: 1px solid #ccc; background-color: #fff; padding: 15px; box-sizing: border-box; cursor: pointer; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); display: flex; flex-direction: column; align-items: center; transition: background-color 0.2s, box-shadow 0.2s; }
.link:hover { background-color: #f0f0f0; box-shadow: 0 6px 8px rgba(0,0,0,0.15); }
.link-icon { font-size: 32px; margin-bottom: 8px; }
.link-text { font-size: 16px; color: #333; text-align: center; word-break: break-word; }
.resize-handle { position: absolute; width: 12px; height: 12px; right: -6px; bottom: -6px; cursor: se-resize; background-color: #ccc; border-radius: 50%; border: 2px solid #fff; }
.resize-handle:hover { background-color: #bbb; }
Как сделать чтобы цвет фона был градиентом рандомного цвета?
- Assistant