Questions tagged as 'css'

1
answer

How to create an empty block?

How do I create a BLANK + TRANSPARENT block of 800px height per 1000px width? And why the code below does not work for this? html <div class="block"></div> css .block { height: 800px; width: 1000px; } With this, I'...
asked by 15.06.2014 / 23:12
2
answers

The UL LI losing formatting after I put it in line ... Why did my "balls" disappear?

I have an unordered list <ul><li> I want it to be horizontal, not vertical, but when I put it to stay in line with display: inline-block my indicative "poles" are gone! Notice that the only thing I changed was to kee...
asked by 07.11.2018 / 14:25
18
answers

What is the best way to centralize an element vertically and horizontally?

What is the best way (by "best" I mean: with the widest possible compatibility between browsers and as simple as possible) to position an element in the center of the page, vertically and horizontally and independently of resolution using only...
asked by 29.01.2014 / 18:29
2
answers

Curves / Waves in CSS

Is it possible to do in pure css or with some other technique these undulating effects (attached image)? I do not want to use images to make them.     
asked by 23.07.2015 / 19:53
1
answer

Twitter Bootstrap: Set specific CSS rule for different sizes

I would like to know how to declare a value to a CSS property according to the browser's resolution in Bootstrap. Example: I want a border to appear only on smartphones or very small resolutions (col-xs). Does bootstrap provide an easy way to...
asked by 17.12.2014 / 05:18
1
answer

Change pages url with ajax and load in another browser

I'm having the following problem, I'm developing a web application in java and would like to know how do I change the URL of a page when I click on a link in the menu. For example: Access a website www.example.com.br this is the main link and...
asked by 29.12.2014 / 19:21
2
answers

Pass parameter of a function according to the value clicked with JavaScript

I need to pass the value of a function according to its clicked value. There are 3 divs, each one is a gallery. I need to click on the "see more" option, open a page with all the photos only from that gallery, however, I do not know how to pass...
asked by 15.04.2015 / 00:03
2
answers

Take measurements of an element and play on variables? How to make?

Is there a way (using Sass maybe) to take the measures ( width and / or height ) of already defined elements and store them in variables to use them in calculations of other elements?     
asked by 12.02.2014 / 00:43
2
answers

Remove space between span and input

I want to know how I can remove these spaces: Sothatspanandinputgettogether,likehere: My CSS : input, textarea { background: none repeat scroll 0 0 #FFFFFF; border: 1px solid #C9C9C9; color: #545658; padding: 8px; font-size: 14px; b...
asked by 11.05.2015 / 19:49
1
answer

Scrolling effect with Parallax using video

I'm studying effects with Parallax and I'm trying to display a video in the background instead of an image. So I was able to create a nice effect using background image. Here is my jQuery code: $('[data-parallax]').each(function(){ var...
asked by 05.03.2014 / 05:33