Questions tagged as 'css'

2
answers

Top 50% Edge and 50% Bottom Edge with css, is it possible?

I need to make a <div> that has two borders ( top and bottom ), is it possible to do this with CSS? Or just with an image? I'vealreadybeenabletodothis: div { width:500px; height:500px; position: relati...
asked by 13.12.2017 / 18:18
3
answers

Reduce code repetition with looping

I want to save a few lines of code by creating a for or while loop to reduce what's below. I would assign a variable array to baixo_final[] getting baixo_final[i] for example and the variable i would ran...
asked by 07.01.2017 / 00:54
2
answers

Use links in geometric shapes

I have the following code: .menu .trapezioinvertido{ float:left; border-top: 70px solid #c1c1c1; border-left: 30px solid transparent; border-right: 15px solid transparent; height: 0; width: 120px; color:#000; text-align:...
asked by 24.11.2015 / 18:33
2
answers

Transparent gradient overlapping div without losing the "click"

How can I make the effect of the image below by adding the gradient effect to the <div> footer without this being done by images using position absolute ? I would also like to maintain the gradient without losing the click fun...
asked by 13.11.2015 / 20:23
4
answers

How to add spacing in the rows of a table?

I need to draw a table with the following characteristic: Each line has a margin-bottom of 8px . The highlight in red is the distance between the lines. The point is to be able to add only where I want. The problem of the border-coll...
asked by 05.03.2015 / 21:29
3
answers

Build circular menu in css [closed]

Anyone know how to give me some tips on how to build a simple menu, such as gif: link Or similar. For a web page, I've tried it in some ways, but it lacks knowledge.     
asked by 23.06.2017 / 08:16
1
answer

How to change another element with pure CSS?

How can I change another element with pure CSS, from an element? I tried to do this but it did not roll. I do not really know the selectors and wonders of CSS. input { display: block; transition: top .3s, left .3s; } label {...
asked by 11.10.2017 / 17:21
2
answers

How to do line break of a string in PHP inside a div

I have a <div> that creates a box where I should print a PHP string from a database, but when the string is too large, instead of performing the line break the string would be "leaked" out of the box: Iwouldlikeabreakinthelineto...
asked by 19.04.2018 / 17:10
5
answers

Disable click on the body for a period of time

I'd have some way to disable the click events of my body . When I call a function I would like to disable the events in the processing that is a bit time consuming and when I finish activating again. I've already used jQuery to add the...
asked by 15.12.2017 / 13:52
2
answers

Box-shadow property: inset does not work in img

I was testing the box-shadow property to make a gallery and realized that the <img> tag does not accept box-shadow:inset... but accepts box-shadow normal. However if I put <img> as the background...
asked by 30.11.2017 / 12:16