Questions tagged as 'css3'

3
answers

Scale background image maintaining appearance

I am creating an adaptive image gallery where thumbnails of the image are displayed in squares. For this I put the background images using background-image and so that the image occupies the whole square, I use background-size:cover...
asked by 13.05.2016 / 06:24
2
answers

fixed html table header inside div

I have an html table inside a div with scroll in Y, inside the table I have a header that I want to be fixed, how can I make the header of the table stay fixed knowing that the table is inside a div. div.tableContainer { wid...
asked by 29.08.2018 / 18:19
3
answers

how to use a href on a label other than (a)

I'm using a tag with a href that calls id to do its function <a href="#openModal">Abrir</a> It happens that I can not use a tag at the moment because I'm hurting all the work, I want to know what other tag I can use and th...
asked by 25.09.2018 / 00:12
2
answers

Error without solution Responsive background with boostrap

I have a page to which I put a background with CSS, and adapt it so that it looks 100% wide and long. When you include text on it and see it on a cell phone, it gets out of hand. I copy part of the code HTML <section id="banner">...
asked by 15.08.2016 / 03:05
3
answers

What is the correct way to sort the css and the js?

As I understand the order of css and js affects and it is not just an aesthetic issue and order of the code, but it has relevance in the time of loading the page and in the user experience while carrying out said loading. Said What...
asked by 05.01.2017 / 19:19
1
answer

Draw only the horizontal lines of a table

Good, I've been looking for it because I thought it should be pretty easy, but I can not find it. What CSS attribute is used so that only horizontal lines are visible in a table? Example of a table that in its design there are only horizo...
asked by 02.09.2017 / 08:56
3
answers

Use php variables in css

I have a problem. I am saving php variables in a database and I want to use those variables in a css file for when I load it with html use those stored values. Normally these variables are hexadecimal codes. In css I can load these variables...
asked by 06.02.2017 / 09:41
4
answers

Center vertically and horizontally a div

I am learning to use CSS3 keyframes and animation. I am creating a Galaxy and I want to put a text but I can not focus vertically, I have tried everything but I have not achieved it. How can I do it? * { padding:0; margin:0; }...
asked by 28.02.2018 / 19:55
1
answer

center svg on a

Hello to everyone! I've been trying for a while but there's no way to do it, I try to center a vector object (svg) on a link 'a' and there's no way guys .. When you enlarge the page or make it smaller the svg goes out of 'a' instead of stay insi...
asked by 21.09.2018 / 17:32
1
answer

Opacity change in invisible menu

I've made this menu link . In which when entering the cursor on the page changes its opacity to 50% and when you put on it, it is 100% opacity. As you can see, it works more or less, but when you put it on it disappears, it reappears a couple o...
asked by 04.02.2017 / 18:22