Questions tagged as 'css'

1
answer

Hide and show div after a certain time

I'm creating the screen of a system that will show graphics and will be displayed on a TV. There are two class one .tela-01 and another called .tela-02 that is with display: none. I would like it to change between these two screens every 10 seco...
asked by 01.05.2018 / 00:04
1
answer

Dynamic background with CSS? How to make?

I have a question, is it possible to change background according to a condition? Example: function A() { if (meuArray.length === 7) { eu quero background verde } else { background azul } } At first I'm doing...
asked by 07.06.2018 / 04:59
1
answer

Clip Property

I'm using the clip property in a tag to make a cut in the bottom of it, however this image will be dynamic, the size of the width is fixed but the size of the height will be dynamic. So if I have an image with height: 1000px; an...
asked by 06.06.2018 / 20:38
2
answers

Specify element to not receive properties of other main elements

I have a menu and I wanted to just specify an element so it does not receive the same properties applied to the others, in case the element would be #lk "PRODUCTS" it is getting all attributes that have been applied to other elements, but I inte...
asked by 06.06.2018 / 19:43
1
answer

Soft Scroll Bootstrap

$(document).ready(function() { $(".scroll").click(function(e){ event.preventDefault(); $('html,body').animate({scrollTop:$(this.hash).offset().top},1000); }); }); .menu{background:#ff0;} .section-1{width:100%;height:100v...
asked by 06.06.2018 / 00:31
2
answers

How to clone Divs from a past number of Select?

I need to create a select with values from 1 to N numbers. After the user selects a number in the select I have to clone the lote div from the selected value. Example: if I select the number 2 in the select, you have to clone two divs....
asked by 07.06.2018 / 15:38
1
answer

auto zoom in the image

I have the following code: .zoom { overflow: hidden; } .zoom img { max-width: 100%; -moz-transition: all 0.3s; -webkit-transition: all 0.3s; transition: all 0.3s; } .zoom:hover img { -moz-transform: scale(1.1); -webki...
asked by 27.04.2018 / 22:37
1
answer

Why do font-faces not work from one pc to another?

Hello! I created a website on a computer with external fonts, using the @ font-face tag. However, when I went to open the html document on another pc, the file did not load the fonts. I put the font-face and class to call it in html @font-f...
asked by 27.04.2018 / 05:04
1
answer

How to group buttons inside a column in a table so that they do not change when the column is adjusted

I have a table that has 4 action buttons inside a cell of a column. When the names begin to get larger in size, the table starts to auto-adjust and in the Actions column the 4 buttons are released and some of them begin to descend to the bottom...
asked by 28.04.2018 / 21:22
1
answer

Set shadow to create gradient effect

I have an ul / li list and want to set shadow to create a gradient effect when li is active and hover. This is the code that creates the border, the idea is to insert more 5px as a shadow to create the effect. ul.navmenu-nav>li>a:hove...
asked by 26.05.2018 / 04:59