I have a question, I am optimizing a website and in the mobile version I am putting smaller images and therefore I am hiding the desktop image with CSS display none.
The problem of mine is that no matter how much you put a display none of the de...
I have a form with several radio-type inputs (only one can be selected).
The code is as follows:
<div class="form-group">
<label><strong>Visible</strong></label><br>
@if...
I have the following fonts :
Rubik-Bold.ttf
Rubik-MediumItalic.ttf
Rubik-Black.ttf
I want to use these fonts for example in each one:
<p class="bold">Hola</p>
<p class="medium">Hola</p>
<p class="bl...
Good!
Could you tell me how to vertically align the green square that is inside the red?
The thing is that this green square contains in turn an image (logo) and this if I can align it with the label line-height: 200px , but said squ...
If I have a div inside another, like this:
#padre{
width:300px;
height:300px;
background-color:lightpink;
position:absolute;
top:20%;
left:15%;
border-radius:150px;
border: 2px solid purple;
}
#hijo{
width:300px;
height:1...
What I want is to catch the total height of the page and apply a CSS depending on the result.
JS:
$altura = document.body.scrollHeight;
CSS:
#id{
height: $altura;
}
Something like that, how should it be done?
I am trying to hide a text in the following way
<ul class="col-6 col-lg-4">
<li>
<i class="fa fa-briefcase" aria-hidden="true"></i>
<div class="contenedor-eleccion ">
<h4>Aplicacio...
Friends, I have a style that does not work for me in Chrome, but it does work in Firefox. It is a style to enlarge a little more the option of a select and I apply it directly to the option element. I leave the style:
<div class="fo...
Hello friends, could you please explain me in detail how to create a modal window with just HTML and CSS. What I plan is that when I fill out a form and click on the button, a modal window will open saying that the information has been sen...