Ver ❯
Herramientas SEO
Tamaño del resultado:
668 x 574
×
Cambiar Orientacion
Cambiar tema, Oscuro/Luz
<!doctype html> <html lang="es"> <head> <meta charset="utf-8"> <title>Trucos y efectos de CSS3 - Tutoriales En Linea</title> </head> <body> <style> main { width: 100%; padding: 39px 29px; font-size: 12px; } section { box-shadow: 0 0 0 1px #eee; } section::after { content: ''; display: block; clear: both; } section > div { height: 229px; line-height: 1.5em; text-align: center; float: left; color: white; } section .left, section .right { width: 119px; padding-top: 29px; background: #b4a078; } section .left { margin-left: -100%; } section .center { width: 100%; text-align: justify; hyphens: auto; } section .center-inner { height: 100%; margin: 0 129px; padding: 29px 12px; background: #b4a078; } section .right { margin-left: -119px; } /* input range */ input[type="range"] { width: 100%; cursor: ew-resize; } </style> <main class="main"> <input ref="range" type="range" value="100"> <section :style="{ width }"> <div class="center"> <div class="center-inner">Tutoriales En Linea es un portal web de tutoriales, cursos, manuales, trucos, tips, novedades, video tutoriales, formas de ganar dinero online, entretenimiento y demás. También es un sistemas instructivos de autoaprendizaje que pretenden simular al maestro y muestran al el desarrollo de algún procedimiento o los pasos para realizar determinada actividad...</div> </div> <div class="left">left</div> <div class="right">right</div> </section> </main> <script> export default { data () { return { width: "100%" } }, mounted() { this.$refs.range.oninput = ({ target: { value } }) => { this.width = `${60 + value * .4}%`; } } } </script> </body> </html>