HTML - Cómo realizar este efecto

 
Vista:
sin imagen de perfil

Cómo realizar este efecto

Publicado por Christian Ramírez (5 intervenciones) el 01/03/2017 23:26:26
Buenas tardes, por favor desearía saber si alguien podría informarme cómo poder realizar este tipo de botón o darme una orientación hacia donde buscar

https://avada.theme-fusion.com/agency/

Los botones en la parte de:

Recent Projects We’ve Completed For Our Clients

Son imágenes, pero al hacer hover, salen dos links de una forma muy bonita y limpia.

De verdad agradezco su ayuda y orientación, un saludo.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
Imágen de perfil de Alejandro
Val: 100
Ha mantenido su posición en HTML (en relación al último mes)
Gráfica de HTML

Cómo realizar este efecto

Publicado por Alejandro (27 intervenciones) el 03/03/2017 00:24:31
Hola Christian hice este pequeño efecto, no estoy seguro si es lo que buscas.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE html>
<html lang="en">
 
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Card</title>
    <style media="screen">
        html {
            font-family: Verdana, Arial, sans-serif;
            font-size: 16px;
            box-sizing: border-box;
        }
 
        *,
        *::before,
        *::after {
            box-sizing: inherit;
            margin: 0;
            padding: 0;
            font-size: 1rem;
        }
 
        body {
            color: #333;
        }
 
        .container {
            max-width: 800px;
            width: 80%;
            margin: 4rem auto;
        }
 
        a {
            text-decoration: none;
            color: #111;
        }
 
        a:first-child {
            margin-right: 1rem;
        }
 
        img {
            width: 100%;
            max-width: 100%;
            height: auto;
        }
 
        p {
            margin: 1rem auto;
            color: #FFF;
        }
 
        .card {
            position: relative;
            width: 300px;
            height: auto;
            margin: auto;
            perspective: 1000px;
            overflow: hidden;
        }
 
        .card-inner {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background-color: steelblue;
            opacity: 0;
            display: -webkit-flex;
            display: -ms-flex;
            display: flex;
            justify-content: center;
            -ms-align-items: center;
            -webkit-flex-direction: column;
            -ms-flex-direction: column;
            flex-direction: column;
            align-items: center;
            transition: all .4s ease-in-out;
            transform: scaleX(0);
            transform-style: preserve-3d;
        }
 
        .card:hover .card-inner {
            opacity: 0.8;
            transform: scaleX(1.2);
        }
 
        .button-container {
            display: -webkit-flex;
            display: -ms-flex;
            display: flex;
            justify-content: center;
            -ms-align-items: center;
        }
 
        .button {
            display: -webkit-flex;
            display: -ms-flex;
            display: flex;
            justify-content: center;
            -ms-align-items: center;
            align-items: center;
            border-radius: 50%;
            background-color: #061d2f;
            width: 50px;
            height: 50px;
            color: #FFF;
        }
 
    </style>
</head>
 
<body>
    <div class="container">
        <div class="card">
            <div class="card-img">
                <img src="http://lorempixel.com/200/200" alt="">
            </div>
            <div class="card-inner">
                <div class="button-container">
                    <a href="#" class="button">link</a>
                    <a href="#" class="button">link</a>
                </div>
                <p>Hola Mundo!</p>
            </div>
        </div>
    </div>
</body>
 
</html>
</div>
</div>
</body>
 
</html>

Un Saludo.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
1
Comentar
sin imagen de perfil

Cómo realizar este efecto

Publicado por Christian David (5 intervenciones) el 03/03/2017 19:01:08
Alejandro

Era exactamente lo que andaba buscando, me faltaba un poquito por decifrarlo, pero te digo que con esto me lo simplificaste un mundo.

Mil gracias.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar
sin imagen de perfil

Cómo realizar este efecto

Publicado por Christian David (5 intervenciones) el 03/03/2017 19:22:14
Hice una pequeña modificación de tu código para dejarlo responsive web design, que era lo que quería desde el inicio, ahora viene el reto de integrarlo al theme de wordpress, de nuevo muchas gracias Alejandro.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!DOCTYPE html>
<html lang="en">
 
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Card</title>
    <style media="screen">
        html {
            font-family: Verdana, Arial, sans-serif;
            font-size: 16px;
            box-sizing: border-box;
        }
 
        *,
        *::before,
        *::after {
            box-sizing: inherit;
            margin: 0;
            padding: 0;
            font-size: 1rem;
        }
 
        body {
            color: #333;
        }
 
        .container {
            max-width: 800px;
            width: 80%;
            margin: 4rem auto;
            display: flex;
            flex-wrap: wrap;
        }
 
        a {
            text-decoration: none;
            color: #111;
        }
 
        a:first-child {
            margin-right: 1rem;
        }
 
        img {
            width: 100%;
            max-width: 100%;
            height: auto;
        }
 
        p {
            margin: 1rem auto;
            color: #FFF;
        }
 
        .card {
            position: relative;
            width: 100%;
            height: auto;
            margin: auto;
            perspective: 1000px;
            overflow: hidden;
        }
 
        .card-inner {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background-color: steelblue;
            opacity: 0;
            display: -webkit-flex;
            display: -ms-flex;
            display: flex;
            justify-content: center;
            -ms-align-items: center;
            -webkit-flex-direction: column;
            -ms-flex-direction: column;
            flex-direction: column;
            align-items: center;
            transition: all .4s ease-in-out;
            transform: scaleX(0);
            transform-style: preserve-3d;
        }
 
        .card:hover .card-inner {
            opacity: 0.8;
            transform: scaleX(1.2);
        }
 
        .button-container {
            display: -webkit-flex;
            display: -ms-flex;
            display: flex;
            justify-content: center;
            -ms-align-items: center;
        }
 
        .button {
            display: -webkit-flex;
            display: -ms-flex;
            display: flex;
            justify-content: center;
            -ms-align-items: center;
            align-items: center;
            border-radius: 50%;
            background-color: #061d2f;
            width: 50px;
            height: 50px;
            color: #FFF;
        }
    @media (min-width: 720px) {
        .card {
            width:33.33%;
        }
    }
 
    </style>
</head>
 
<body>
    <div class="container">
        <div class="card">
            <div class="card-img">
                <img src="http://lorempixel.com/200/200" alt="">
            </div>
            <div class="card-inner">
                <div class="button-container">
                    <a href="#" class="button">link</a>
                    <a href="#" class="button">link</a>
                </div>
                <p>Hola Mundo!</p>
            </div>
        </div>
        <div class="card">
            <div class="card-img">
                <img src="http://lorempixel.com/200/200" alt="">
            </div>
            <div class="card-inner">
                <div class="button-container">
                    <a href="#" class="button">link</a>
                    <a href="#" class="button">link</a>
                </div>
                <p>Hola Mundo!</p>
            </div>
        </div>
         <div class="card">
            <div class="card-img">
                <img src="http://lorempixel.com/200/200" alt="">
            </div>
            <div class="card-inner">
                <div class="button-container">
                    <a href="#" class="button">link</a>
                    <a href="#" class="button">link</a>
                </div>
                <p>Hola Mundo!</p>
            </div>
        </div>
         <div class="card">
            <div class="card-img">
                <img src="http://lorempixel.com/200/200" alt="">
            </div>
            <div class="card-inner">
                <div class="button-container">
                    <a href="#" class="button">link</a>
                    <a href="#" class="button">link</a>
                </div>
                <p>Hola Mundo!</p>
            </div>
        </div>
         <div class="card">
            <div class="card-img">
                <img src="http://lorempixel.com/200/200" alt="">
            </div>
            <div class="card-inner">
                <div class="button-container">
                    <a href="#" class="button">link</a>
                    <a href="#" class="button">link</a>
                </div>
                <p>Hola Mundo!</p>
            </div>
        </div>
         <div class="card">
            <div class="card-img">
                <img src="http://lorempixel.com/200/200" alt="">
            </div>
            <div class="card-inner">
                <div class="button-container">
                    <a href="#" class="button">link</a>
                    <a href="#" class="button">link</a>
                </div>
                <p>Hola Mundo!</p>
            </div>
        </div>
    </div>
</body>
 
</html>
</div>
</div>
</body>
 
</html>
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar