Questions tagged as 'css'

2
answers

Why does the universal selector * have a negative impact on browser rendering?

I was going to apply a CSS Reset on my website. I usually use Eric Meyer's link . But I was looking at the suggestion of Diego Eis in link that is like this: * { margin:0; padding:0; list-style:none; vertical-align:baseline; } I found it...
asked by 06.08.2014 / 15:01
5
answers

input type="image" ... with LINK and HOVER

I can not put an effect on a button, I have 3 images made in photoshop, one is Normal (Link), another when hovering, and one when I click (Actived), however, I can not activate these effects via CSS, follow my HTML ... <input type="image" s...
asked by 04.08.2014 / 20:36
2
answers

Menu in two CSS columns

I have a CSS bootstrap structure. This menu looks like this: I'dliketosplitintotwocolumns,howcouldIdo?Therewasnochangetothestructureofthenormalbootstrapmenu.Followthemenucode:<liclass="dropdown"> <a href="#" class="dropdown-togg...
asked by 29.06.2016 / 20:21
2
answers

Hiding half an icon on a Card

I have this code (Bootstrap 4): <link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.5/css/bootstrap.min.css" rel="stylesheet"/> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></...
asked by 11.11.2016 / 13:07
1
answer

Divs has width with 33% because they do not line up?

Very specific question! Follow the line of code. .container {width: 80%;margin: 0 auto;} #servicos {width: 100%} #servicos .services {width: 33%;padding: 20px;display: inline-block;} #servicos .services img {width: 100%;} <div cla...
asked by 23.06.2018 / 15:04
2
answers

Animate CSS - Correct syntax?

I have tried in many ways to adjust the simple animation of a @keyframes css I'm doing. I have seen several syntaxes and still continue with error, .borda { padding: .5em; border: 20px solid transparent; border-image: 20...
asked by 20.06.2018 / 22:15
2
answers

how to use max-height and display table

I have a div that its width and height is according to the content, and I need to leave it in the center of the page, I'm having problem with max-height , it just does not work, min-height works perfectly, when I do not know how to...
asked by 21.06.2018 / 10:46
2
answers

Keep the value of a countdown timer with javascript

I have a regressive cot, but when the browser is updated it comes back to the beginning, what I need is for it to keep the count even updating the page. I've been researching this solution with cookies but I did not find the solution, I do no...
asked by 11.06.2018 / 21:25
3
answers

Find the elements of a jQuery eno class and append them a parameter

I need to make a function in jQuery or JavaScript, which finds all items with a particular css class and add a parameter to that class, a different color for example.    I'll put on a button, after clicking the first time, the second time i...
asked by 24.08.2016 / 22:20
2
answers

Vertical line between divs

Is it possible to make a vertical line between DIVs? wanted to create a tab for the data. Here is an example of the code I'm using: <div style="float:left; max-width:200px;max-height:200px;" class="text-center"> <b>Telefone<...
asked by 12.11.2016 / 00:43