Questions tagged as 'css'

2
answers

Which way to calculate Video time by the method getTime ()

Hello, everyone! Javascript method named getTime(); as well as the getDuration(); that gives us the duration of a video in question if aggregated to <object/> and <embed/> . Well, it's my question:...
asked by 14.06.2016 / 23:49
1
answer

How to select lines 1 through N above

I have a dynamically generated table in the following schema: <table> <tr class="row-1"> <td>A</td> <td>1</td> </tr> <tr class="row-2"> <td>B</td> &...
asked by 24.05.2016 / 20:30
2
answers

Div does not align with the text

I'm trying to align div and text side by side, but it does not work at all, I've tried float, tb, align, and nothing works, please can you give me a help. #sobre { width: 100%; height: 100%; background-color: #0C0; ba...
asked by 01.05.2016 / 22:26
1
answer

cover background by the Y axis

I wanted to know if there is any way for the background-image image to use the background-size:cover; property following the vertical axis. .i-church{ background-image: url(../../img/icones/Church.png); background-size: cover;...
asked by 29.09.2016 / 16:41
2
answers

How to change a color based on the scroll position

Hello! I've been looking for a while and I find several things, but for what I specifically want, no. In my Tumblr blog, I want a border around the posts with approximately 5px, whose color changes based on the scroll position. I want it to be f...
asked by 08.04.2016 / 23:31
2
answers

Position of DIV relative to another with dynamic content

I have two divs on my page, one class="rodape" and another class="content" . The first is the footer of the page, and adjusts its position relative to bottom of the fixed contents of the page without problems. Ho...
asked by 08.01.2016 / 16:00
1
answer

Change the font of a textarea with onclick in an option

<select> <option>Arial</option> <option>Open Sans</option> <option>Roboto</option> <option>Calibri</option> <option>Helvetica</option> </select> <textarea id="t...
asked by 25.08.2016 / 23:05
2
answers

Image always on top when receiving hover effect

I'm developing a website with CSS and HTML, but I'm facing a problem. I have a part of this site as a kind of gallery, and when an image receives hover , it gets bigger. The problem is that it stays underneath the others, like in print at...
asked by 27.01.2016 / 20:28
2
answers

Extra margin appearing on elements with input-block display. How to solve?

I have a problem with my css. He was working out a style to format some buttons. Everything went well. However, my buttons have an extra margin appearing. That is, I did not set margin on my buttons, however they are appearing with margin. Ex...
asked by 18.02.2016 / 18:08
1
answer

How to make a Modal Portfolio appear from left to right?

Modal Portfolio, example: link I want to modify the animation of the Modal Portfolio (bootstrap). I want it to appear from left to right similar to this: link How can I do this? HTML: <li><a href="#portfolioModal1" cla...
asked by 14.12.2015 / 19:15