✍️
cssadvand
  • [BEM] Exploring SMACSS: Scalable and Modular Architecture for CSS
  • 😀CSS-only infinite scrolling carousel animation (ok)
  • css carousel
  • 🤡 Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 1)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 2)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 3)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 4)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 5)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 6)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 7)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 8)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 9)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 10)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 11)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 12) [Phần đặc biệt]
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 13)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 14)
  • 😘Thuộc tính tabindex="-1" không ngờ lại nguy hiểm vậy đọc bài dưới 😌
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 15)
  • 🥸CSS tạo theme cho dark mode đọc bài (Phần 16)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 16)
  • Mẹo để optimize Google Fonts API mà ít dev để ý đọc (Phần 17)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 17)
  • Thật may nhờ có white-space: pre-line đọc (Phần 18)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 18)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 19)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 20)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 21)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 22)
  • Thuộc tính image-rendering nhờ bài (Phần 23) mà phát hiện ra cách làm bức ảnh mờ trở nên rõ nét
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 23)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết 🤡
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 24)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 25)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 26)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 27)
  • 😘mix-blend-mode pha trộn giữa 1 đối tượng với đối tượng bên dưới đó (Phần 28)
    • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 28)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 29)
  • 🥸aspect-ratio (Phần 30)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 30)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 31)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 32)
  • Một vài thủ thuật CSS mà chính Frontend có thể còn chưa biết (Phần 33)
  • 😘CSS Scroll Triggered Animations Full (ok)
  • 🥹Difference between animation and transition in CSS
  • 😄animation-timeline có phải nó làm việc với thanh cuộn (ok)
  • 😍Từ bài animation-timeline làm việc với thanh cuộn tìm ra cách sử dụng background-clip: text;
  • background-clip: text;
  • 😅Sử dụng list-style-type để tạo icon đẹp (ok)
  • 😁Convert css to scss good (ok)
  • 😁CSS - Hướng dẫn: Tạo ảnh động với hàm steps()
  • 😆Multiple image cross fading in CSS - without (java) khá đẹp script (ok)
  • 😇Function css full 🤩
  • 😅[SVG] SVG viewBox Attribute (ok)
  • 😅Tailwind CSS (ok)
  • 😍Thật không thể tin được sử dụng filter: brightness(0) invert(1); để chuyển màu ảnh 🤣
  • 😅Background text matter.vn (ok)
  • 😆Chọn màu, color, color contrast ratio (ok)
  • 😁Tổng hợp Animating SVG text cực đẹp (ok)
  • 😂Chuyển động tròn :(
  • 😆MOVE-BG mepop.vn (ok)
  • 😆Counter Increment list, number xuongkhopbacninh.com (ok)
  • Boxes That Fill Height, full Height(Or More) (and Don’t Squish) (ok)
  • Equal Height (chiều cao bằng nhau) (oK)
  • 😅Sử dụng nodejs và scss cấu trúc thư mục tốt P.1(ok)
  • 🥲Sử dụng nodejs và js cấu trúc thư mục tốt P.2 (ok)
  • === START STUDY P.1 && P.2 SỬ DỤNG NODEJS VÀ CẤU TRÚC ===
  • 😉1 Giao diện sử dụng thuộc tính data-coreui-toggle="dropdown" (ok)
  • === END STUDY P.1 && P.2 SỬ DỤNG NODEJS VÀ CẤU TRÚC ===
  • 😆Css box-shadow đẹp (ok)
  • === START Tutorials Classical BEM stack ===
  • 😀HTML with BEM (ok)
  • 😀CSS with BEM (ok)
  • === END Tutorials Classical BEM stack ===
  • === START SMACSS ===
  • Categorizing CSS Rules
  • Base Rules
  • Layout Rules
  • Module Rules
  • State Rules
  • Theme Rules
  • Changing State
  • === END SMACSS ===
  • All CSS Grid Properties (ok)
  • 😇Column Grid full example(Responsive)
  • === Start Điều quan trọng nhất cách chia cột và thay đổi vị trí ===
  • CSS Grid căn bản - Phần 1
  • CSS Grid căn bản - Phần 2
  • CSS Grid: Holy Grail Layout
  • Sử dụng CSS Grid để xây dựng web layout
  • Luyện tập CSS Grid qua bài tập tạo layout Airbnb, youtube, Pinterest
  • === End Điều quan trọng nhất cách chia cột và thay đổi vị trí ===
  • Overflow:hidden dots at the end full (ok)
  • Gulp để viết Sass && cai dat
  • Cách nhúng font vào svg (ok)
  • font-face Hướng dẫn conver font và nhúng sử dụng online (ok)
  • 😇Create CSS Animations on Scroll (ok)
  • Hiệu ứng hover bằng js hiện phần description (ok)
  • Text Link on Hover phần 1 (ok)
  • Kết hợp transition & transform-origin phần 2 (ok)
  • Text Hover Phần 3 (ok)
  • Social Media Icons hover effect (ok)
  • css rotate a pseudo :after or :before content:""
  • Hiệu ứng ảnh tự zoom, animation, scale phần 1 full (ok)
  • CodePen Home Image zoom on hover - auto run - view (ok)
  • scroll-padding (ok)
  • Tạo vòm giống styleathome (ok)
  • Tổng hợp những css đẹp để làm trang trí (ok)
  • Cách thay đổi màu svg full (ok_)
  • Disable Auto Zoom in Input “Text” tag - Safari on iPhone (ok)
  • function calc css (ok)
  • Get the scroll distance from bottom to scroll, var distanceFromBottom (ok) vinmec.com (ok)
  • ---------- Start CSSscan không sử dụng ----------------------
  • Unused CSSscan your website for unused CSS selectors (ok)
  • PurifyCSS OnlineRemove unused CSS code from your stylesheets (ok)
  • Remove unused CSS styles from Bootstrap using PurgeCSS (ok)
  • 😆Thêm column, media bootstrap, custom bootstrap (ok)
  • ---------- End CSSscan không sử dụng ----------------------
  • Xây dựng blog đơn giản (Node + React)
  • Các tham số của Gulp
  • File đã thực hành với Gulp (ok
  • gulp-livereload (chưa đọc)
  • Tối ưu hiệu năng Google Fonts (ok)
  • Học CSS GRID thông qua những layout phức tạp
  • [GRID] sử dụng grid xây dựng layout giống Masonry (ok)
  • PageSpeed Insights Chrome Extension (ok)
  • Tăng tốc website bằng cách cải thiện front-end
  • Code chuẩn SEO là gì
  • 10 CSS3 Animation Tools phổ biến
  • Trang check SEO OKE
  • Làm sao để SEO từ khóa?
  • Kiểm soát web typography với việc hiển thị CSS font (ok)
  • Các mẫu phông chữ hiển thị và thuộc tính hiển thị phông chữ của CSS
  • Một số mẹo tối ưu hóa HTML/CSS/JS đúng chuẩn
  • Web Performance
  • Preload, Prefetch, Preconnect (ok)
  • Tối ưu hóa phần Front end cho trình duyệt (part 1)
  • Tối ưu hóa phần Front end cho trình duyệt (part 2)
  • Sử dụng thuộc tính attr html && css (ok)
  • Disable Auto Zoom in Input “Text” tag - Safari on iPhone (ok)
  • CSS submit button weird rendering on iPad/iPhone submit color (ok)
  • Turn off iPhone/Safari input element rounding (ok)
  • scroll bongda.com.vn (ok)
  • Làm chiếc xe ô tô chuyển động giống 2020.yp.vn (ok)
  • Sự khác biệt giữa :empty và :blank trong CSS (ok)
  • Is there a CSS parent selector? (ok)
Powered by GitBook
On this page

Was this helpful?

Text Link on Hover phần 1 (ok)

https://css-tricks.com/4-ways-to-animate-the-color-of-a-text-link-on-hover/

PreviousHiệu ứng hover bằng js hiện phần description (ok)NextKết hợp transition & transform-origin phần 2 (ok)

Last updated 3 years ago

Was this helpful?

Ví dụ 1:

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <a href="#" data-hover="Lorem ipsum dolor sit amet consectetur adipisicing elit. Delectus, a.">Lorem ipsum dolor sit amet consectetur adipisicing elit. Delectus, a.</a>
    <style>
        a {
            position: relative;
            display: inline-block;
            outline: none;
            color: #000;
            text-decoration: none;
            letter-spacing: 1px;
            font-weight: 400;
            text-shadow: 0 0 1px rgb(255 255 255 / 30%);
            font-size: 1.35em;
        }
        
        a::before {
            position: absolute;
            top: 50%;
            left: 0;
            overflow: hidden;
            max-width: 0;
            white-space: pre;
            border-bottom: 2px solid blue;
            color: red;
            content: attr(data-hover);
            -webkit-transition: max-width 0.5s;
            -moz-transition: max-width 0.5s;
            transition: max-width 0.5s;
            transform: translateY(-50%);
        }
        
        a:hover::before {
            max-width: 100%;
        }
    </style>
</body>

</html>

Ví dụ 2:

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <a href="#">Link Hover</a>
    <style>
        a {
            position: relative;
            display: inline-block;
            font-size: 2em;
            font-weight: 800;
            color: royalblue;
            overflow: hidden;
            background: linear-gradient(to right, midnightblue, midnightblue 50%, royalblue 50%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-size: 200% 100%;
            background-position: 100%;
            transition: background-position 275ms ease;
        }
        
        a:hover {
            background-position: 0 100%;
        }
    </style>
</body>

</html>

Ví dụ 3:

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <h1>Links hover animations</h1>
    <div class="link-cont">
        <div class="link-wrapper">
            <a class="link hover-1" href="#">#1 - left to right</a>
        </div>
        <div class="link-wrapper">
            <a class="link hover-2" href="#">#2 center to tips</a>
        </div>
        <div class="link-wrapper">
            <a class="link hover-3" href="#">#3 left to right</a>
        </div>
        <div class="link-wrapper">
            <a class="link hover-4" href="#">#4 right to left</a>
        </div>
        <div class="link-wrapper">
            <a class="link hover-5" href="#">#5 scaling height</a>
        </div>
        <div class="link-wrapper">
            <a class="link hover-6" href="#">#6 edges to center</a>
        </div>
        <div class="link-wrapper">
            <a class="link hover-7" href="#">#7 top & bottom, left to right + reverse</a>
        </div>
        <div class="link-wrapper">
            <a class="link hover-8" href="#">#8 top & bottom, left to right</a>
        </div>
        <div class="link-wrapper">
            <a class="link hover-9" href="#">#9 top & bottom, right to left</a>
        </div>
        <div class="link-wrapper">
            <a class="link hover-10" href="#">#10 top & bottom tips to center</a>
        </div>
        <div class="link-wrapper">
            <a class="link hover-11" href="#">#11 top & bottom, scaling height</a>
        </div>
        <div class="link-wrapper">
            <a class="link hover-12" href="#">#12 top & bottom, left to right + reverse</a>
        </div>
        <div class="link-wrapper">
            <span class="inner-wrapper wrapper-13">
            <a class="link hover-13" href="#">#13 top & bottom, tips to center</a>
        </span>
        </div>
        <div class="link-wrapper">
            <span class="inner-wrapper wrapper-14">
            <a class="link hover-14" href="#">#14 square effect, center to edges</a>
        </span>
        </div>
        <div class="link-wrapper">
            <span class="inner-wrapper wrapper-15">
            <a class="link hover-15" href="#">#15 square effect, symetrical</a>
        </span>
        </div>
        <div class="link-wrapper">
            <span class="inner-wrapper wrapper-16">
            <a class="link hover-16" href="#">#16 square effect, simultaneous</a>
        </span>
        </div>
        <div class="link-wrapper">
            <span class="inner-wrapper wrapper-17">
            <a class="link hover-17" href="#">#17 square effect, side by side</a>
        </span>
        </div>
    </div>
    <style>
        body {
            font-family: Quicksand;
            margin: 40px;
            padding: 0;
            color: #fff;
            background: linear-gradient(0, #281130 50%, #030133);
        }
        
        h1 {
            position: relative;
            font-size: 45px;
            margin: 15px 0;
            display: inline-block;
        }
        
        h1:after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 2px;
            background-color: #fff;
            border-radius: 5px;
        }
        
        .link-cont {
            position: relative;
            font-size: 24px;
        }
        
        .link {
            display: inline-block;
            position: relative;
            text-decoration: none;
            padding: 10px 0;
            color: #fff;
        }
        
        .link-wrapper {
            position: relative;
            display: block;
            padding: 20px 0;
        }
        
        .inner-wrapper {
            position: relative;
            display: inline-block;
        }
        /* hover styles */
        
        .hover-1:after {
            content: '';
            position: absolute;
            width: 100%;
            height: 3px;
            bottom: 0;
            left: 0;
            background-color: #E2061B;
            transform: scaleX(0);
            transform-origin: bottom right;
            transition: transform 0.3s;
        }
        
        .hover-1:hover:after {
            transform-origin: bottom left;
            transform: scaleX(1);
        }
        
        .hover-2:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            width: 100%;
            height: 3px;
            transform: scaleX(0);
            background-color: #20C2F7;
            transition: transform 0.3s;
        }
        
        .hover-2:hover:after {
            transform: scaleX(1);
        }
        
        .hover-3:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #37D631;
            transform: scaleX(0);
            transform-origin: bottom left;
            transition: transform 0.3s;
        }
        
        .hover-3:hover:after {
            transform: scaleX(1);
        }
        
        .hover-4:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 3px;
            background-color: #ffcc00;
            transform: scaleX(0);
            transform-origin: bottom right;
            transition: transform 0.3s;
        }
        
        .hover-4:hover:after {
            transform: scaleX(1);
        }
        
        .hover-5:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            width: 100%;
            height: 3px;
            transform: scaleY(0);
            background-color: #E2061B;
            transition: transform 0.3s;
        }
        
        .hover-5:hover:after {
            transform: scaleY(1);
        }
        
        .hover-6:before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 50%;
            height: 3px;
            background-color: #20C2F7;
            transform: scaleX(0);
            transform-origin: bottom left;
            transition: transform 0.3s;
        }
        
        .hover-6:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            left: 50%;
            height: 3px;
            background-color: #20C2F7;
            transform: scaleX(0);
            transform-origin: bottom right;
            transition: transform 0.3s;
        }
        
        .hover-6:hover:before {
            transform: scaleX(1);
        }
        
        .hover-6:hover:after {
            transform: scaleX(1);
        }
        
        .hover-7:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #37D631;
            transform: scaleX(0);
            transform-origin: top left;
            transition: transform 0.3s;
        }
        
        .hover-7:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 3px;
            background-color: #37D631;
            transform: scaleX(0);
            transform-origin: bottom right;
            transition: transform 0.3s;
        }
        
        .hover-7:hover:before {
            transform: scaleX(1);
        }
        
        .hover-7:hover:after {
            transform: scaleX(1);
        }
        
        .hover-8:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #ffcc00;
            transform: scaleX(0);
            transform-origin: top left;
            transition: transform 0.3s;
        }
        
        .hover-8:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #ffcc00;
            transform: scaleX(0);
            transform-origin: top left;
            transition: transform 0.3s;
        }
        
        .hover-8:hover:before,
        .hover-8:hover:after {
            transform: scaleX(1);
        }
        
        .hover-9:before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 3px;
            background-color: #E2061B;
            transform: scaleX(0);
            transform-origin: top right;
            transition: transform 0.3s;
        }
        
        .hover-9:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 3px;
            background-color: #E2061B;
            transform: scaleX(0);
            transform-origin: top right;
            transition: transform 0.3s;
        }
        
        .hover-9:hover:before,
        .hover-9:hover:after {
            transform: scaleX(1);
        }
        
        .hover-10:before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 3px;
            background-color: #20C2F7;
            transform: scaleX(0);
            transition: transform 0.3s;
        }
        
        .hover-10:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 3px;
            background-color: #20C2F7;
            transform: scaleX(0);
            transition: transform 0.3s;
        }
        
        .hover-10:hover:before,
        .hover-10:hover:after {
            transform: scaleX(1);
        }
        
        .hover-11:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            width: 100%;
            height: 3px;
            transform: scaleY(0);
            background-color: #37D631;
            transition: transform 0.3s;
        }
        
        .hover-11:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            width: 100%;
            height: 3px;
            transform: scaleY(0);
            background-color: #37D631;
            transition: transform 0.2s;
        }
        
        .hover-11:hover:before,
        .hover-11:hover:after {
            transform: scaleY(1);
        }
        
        .hover-12:before {
            content: '';
            position: absolute;
            width: 100%;
            height: 3px;
            top: 0;
            left: 0;
            background-color: #ffcc00;
            transform: scaleX(0);
            transform-origin: top left;
            transition: transform 0.3s;
        }
        
        .hover-12:after {
            content: '';
            position: absolute;
            width: 100%;
            height: 3px;
            bottom: 0;
            right: 0;
            background-color: #ffcc00;
            transform: scaleX(0);
            transform-origin: bottom right;
            transition: transform 0.3s;
        }
        
        .hover-12:hover:before {
            transform-origin: top right;
            transform: scaleX(1);
        }
        
        .hover-12:hover:after {
            transform-origin: bottom left;
            transform: scaleX(1);
        }
        
        .wrapper-13:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 50%;
            height: 3px;
            background-color: #E2061B;
            transform: scaleX(0);
            transform-origin: top left;
            transition: transform 0.3s;
        }
        
        .wrapper-13:after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            left: 50%;
            height: 3px;
            background-color: #E2061B;
            transform: scaleX(0);
            transform-origin: top right;
            transition: transform 0.3s;
        }
        
        .wrapper-13 .hover-13:before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 50%;
            height: 3px;
            background-color: #E2061B;
            transform: scaleX(0);
            transform-origin: bottom left;
            transition: transform 0.3s;
        }
        
        .wrapper-13 .hover-13:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            left: 50%;
            height: 3px;
            background-color: #E2061B;
            transform: scaleX(0);
            transform-origin: bottom right;
            transition: transform 0.3s;
        }
        
        .wrapper-13 .hover-13:hover:before,
        .wrapper-13 .hover-13:hover:after {
            transform: scaleX(1);
        }
        
        .wrapper-13:hover:before,
        .wrapper-13:hover:after {
            transform: scaleX(1);
        }
        
        .wrapper-14:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 3px;
            height: 100%;
            background-color: #20C2F7;
            transform: scaleY(0);
            transition: transform 0.3s;
        }
        
        .wrapper-14:after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 3px;
            height: 100%;
            background-color: #20C2F7;
            transform: scaleY(0);
            transition: transform 0.3s;
        }
        
        .wrapper-14 .hover-14 {
            padding: 10px;
        }
        
        .wrapper-14 .hover-14:before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 3px;
            background-color: #20C2F7;
            transform: scaleX(0);
            transition: transform 0.3s;
        }
        
        .wrapper-14 .hover-14:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 3px;
            background-color: #20C2F7;
            transform: scaleX(0);
            transition: transform 0.3s;
        }
        
        .wrapper-14:hover:before,
        .wrapper-14:hover:after {
            transform: scaleY(1);
        }
        
        .wrapper-14:hover .hover-14:before,
        .wrapper-14:hover .hover-14:after {
            transform: scaleX(1);
        }
        
        .wrapper-15:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 3px;
            height: 100%;
            background-color: #37D631;
            transform: scaleY(0);
            transform-origin: top left;
            transition: transform 0.3s;
        }
        
        .wrapper-15:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 3px;
            height: 100%;
            background-color: #37D631;
            transform: scaleY(0);
            transform-origin: bottom right;
            transition: transform 0.3s;
        }
        
        .wrapper-15 .hover-15 {
            padding: 10px;
        }
        
        .wrapper-15 .hover-15:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #37D631;
            transform: scaleX(0);
            transform-origin: top left;
            transition: transform 0.3s;
        }
        
        .wrapper-15 .hover-15:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 3px;
            background-color: #37D631;
            transform: scaleX(0);
            transform-origin: bottom right;
            transition: transform 0.3s;
        }
        
        .wrapper-15:hover:before,
        .wrapper-15:hover:after {
            transform: scaleY(1);
        }
        
        .wrapper-15:hover .hover-15:before,
        .wrapper-15:hover .hover-15:after {
            transform: scaleX(1);
        }
        
        .wrapper-16:before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 3px;
            height: 100%;
            background-color: #ffcc00;
            transform: scaleY(0);
            transform-origin: bottom left;
            transition: transform 0.3s;
        }
        
        .wrapper-16:after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 3px;
            height: 100%;
            background-color: #ffcc00;
            transform: scaleY(0);
            transform-origin: top right;
            transition: transform 0.3s;
        }
        
        .wrapper-16 .hover-16 {
            padding: 10px;
        }
        
        .wrapper-16 .hover-16:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #ffcc00;
            transform: scaleX(0);
            transform-origin: top left;
            transition: transform 0.3s;
        }
        
        .wrapper-16 .hover-16:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 3px;
            background-color: #ffcc00;
            transform: scaleX(0);
            transform-origin: bottom right;
            transition: transform 0.3s;
        }
        
        .wrapper-16:hover:before,
        .wrapper-16:hover:after {
            transform: scaleY(1);
        }
        
        .wrapper-16:hover .hover-16:before,
        .wrapper-16:hover .hover-16:after {
            transform: scaleX(1);
        }
        
        .wrapper-17:before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 3px;
            height: 100%;
            background-color: #E2061B;
            transform: scaleY(0);
            transform-origin: bottom left;
            transition: transform 0.2s;
        }
        
        .wrapper-17:after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 3px;
            height: 100%;
            background-color: #E2061B;
            transform: scaleY(0);
            transform-origin: top right;
            transition: transform 0.2s 0.2s;
        }
        
        .wrapper-17 .hover-17 {
            padding: 10px;
        }
        
        .wrapper-17 .hover-17:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #E2061B;
            transform: scaleX(0);
            transform-origin: top left;
            transition: transform 0.2s 0.3s;
        }
        
        .wrapper-17 .hover-17:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 3px;
            background-color: #E2061B;
            transform: scaleX(0);
            transform-origin: bottom right;
            transition: transform 0.2s 0.1s;
        }
        
        .wrapper-17:hover:before {
            transform: scaleY(1);
            transition: transform 0.2s 0.3s;
        }
        
        .wrapper-17:hover:after {
            transform: scaleY(1);
            transition: transform 0.2s 0.1s;
        }
        
        .wrapper-17:hover .hover-17:before {
            transform: scaleX(1);
            transition: transform 0.2s;
        }
        
        .wrapper-17:hover .hover-17:after {
            transform: scaleX(1);
            transition: transform 0.2s 0.2s;
        }
    </style>
</body>

</html>