Questions tagged as 'css3'

2
answers

Position one div inside another in the upper part and the others below

I have a div father and inside 4 div internal son next to each other, inside each div son I have 3 div; one contains a title, the other an image and the last an icon. I have noticed that they are aligned from below and if an image does not have...
asked by 10.04.2017 / 15:02
3
answers

Rows of DataTable Bootstrap in a single line ASP.net MVC

I want all the rows to be in one line. As you can see below, I have a view where I get a dynamic datatable that was fed by a Json, I do not know the name of the rows or columns so I can not put a fixed width to all columns <table id="exa...
asked by 08.02.2017 / 20:11
1
answer

When inserting html code from javascript, css fails

I have a code in javascript that accesses to firebase to obtain information and then inserts html code with this information. All this does but not as expected. For example, it uses images but instead of putting them with a specific size, it put...
asked by 02.01.2019 / 23:32
1
answer

CSS prefixes do not appear when compiling with gulp-ruby-sass

I am using gulp-ruby-sass instead of gulp-sass for the pre-compilation of the scss code of my project. It turns out that I still have prefixes in my file .scss and following the way in which the mixins are declared suc...
asked by 06.01.2016 / 01:20
2
answers

How to use windows.onclik to close a dropdown menu? Or simply close it

You see I have two dropdowns menu which are opened by clicking a button (each button has its menu). Well. The code of that two menu is the same except that I made changes in the classes and Id so that to each I give different styles with css and...
asked by 14.10.2016 / 02:55
2
answers

Does it really work to specify a margin and a padding to 0 initially?

I have seen that it is very common that as soon as you start the css, many files start with: *{ margin: 0; padding: 0; } Used in theory so that all elements have no padding or margin. Does this really work? Because I have had many t...
asked by 26.04.2018 / 09:28
1
answer

CSS: Change of colors by time intervals

I want to make a change of color to the whole body of an html, having as main colors the yellow, orange and black simulating a sunrise, sunset and sunset, clearly these colors have to have their time each one to simulate the transition, but I...
asked by 02.05.2018 / 00:30
1
answer

how to do a responsive div?

I have several div like these in my page that when doing hover on a map they will float in that position that I wish them, but I have a problem and that is when the resolution changes the page is responsive but the divs do not and they stay the...
asked by 17.05.2018 / 15:38
3
answers

HTML looks different between firefox and chrome

The margin-top of the internal elements of my container in Firefox can not be seen, while in Chrome it can be seen, I leave images attached: The code is as follows: * { padding: 0; margin: 0; } .initWrapPages {...
asked by 06.12.2017 / 12:57
3
answers

Align vertically inside div

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...
asked by 03.09.2017 / 16:26