Questions tagged as 'css3'

1
answer

Center text regardless of the lines of the text

What I need to do is to leave the text centered with respect to the image, that is, if the text has 2 lines as shown in the image, it fits perfectly but if it has only 1 it is strange and I would like it to go down to focus . Is there any way to...
asked by 11.01.2018 / 11:31
1
answer

Element does not look complete even with overflow-x: visible

I have a page with two columns, one of them has a drop-down list that is displayed when I mouse over an element. The dropdown extends beyond the content and that's where the problem lies: even though the container column has a overflow-x: vis...
asked by 01.08.2018 / 15:36
3
answers

How to create three stars plus an average star without: hover?

I have problems in the styles CSS I'm wanting to show three stars plus a half of a star without :hover Example: .c-rating { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: f...
asked by 19.10.2017 / 22:05
1
answer

How to generate gradients in css3 text

Hello I wanted to know how to generate a gradient in a text like the attached image. or if there is a generator on the web to be able to do it     
asked by 22.11.2017 / 13:38
2
answers

How to capture html attribute in a js variable and then assign it in css variable?

I want to capture the value of src and pass it to a CSS variable, which is in the inline style of the container parent named --img-url . The idea that I have in the html, I have this: <figure class="img-container" style="--i...
asked by 16.01.2018 / 00:01
1
answer

error in changing fontawesome icon

I have several buttons in a foreach in php <table class="table-mp3 center-block" data-directorio-album="ideas" id="reproductor"> <?php foreach($canciones as $id => $cancion):?> <tr class="fila"> <td> <!--...
asked by 07.08.2017 / 19:30
2
answers

Enlarge 100% box using display: flex

I am using the property display:flex but having this structure: <div class="cajaFlexible"> <div class="cajaHija"></div> <div class="cajaHija"></div> </div> And with this css: .cajaFlexible{displa...
asked by 20.07.2017 / 11:10
1
answer

Can you implement @import and @ font-face in the same project?

I downloaded the Fonts from Google Fonts and I want to know if it is possible to use @import and @ font-face in the same project in case one of the 2 ways to load fonts does not work. example: @import 'https://fonts.googleapis.com/css?fa...
asked by 22.06.2016 / 06:31
1
answer

Invalid visual variable for the max-width property of a style. In MVC asp.net

I have the following code: <% For Each img In Model.listadoNoticias.Item(0).FOTO Dim id_LaImagen = "foto_" & img.IdFoto.ToString() Dim src_imagen = img.RutaFoto.Split("/") Dim ruta_Foto = Server.MapPath("~") & s...
asked by 10.03.2016 / 05:47
1
answer

Overlay a DIV and disable the background

I run into a problem and I can not find a solution. It turns out that I'm doing a portfolio-like gallery, where the user clicks on a thumbnail of the work to visualize it. The issue is that when you click, a div opens with a iframe inside, s...
asked by 13.08.2018 / 15:00