Questions tagged as 'css'

1
answer

Edit a css attribute "webkit-progress-bar" with javascript?

Hi, I want to know how to edit the "-webkit-progress-bar" component, which I have declared as follows: .form progress::-webkit-progress-value { background: #1EDC82; } And I have it in this part of the code: <div class="progress">...
asked by 30.12.2017 / 16:48
2
answers

Angular - Different CSS style sheets for the same component

I have a section that is repeated in several components and CSS styles are the same for all of them. To make the code cleaner, I have removed the repeated styles from each of the CSS style sheets of the components and put everything in the style...
asked by 29.12.2017 / 20:53
1
answer

Hover event that works in javascript and not in css

I have a div with a background image, inside that div I have a div with position:absolute . What I want to do is that when I pass the mouse for the div container the edge of the div that is insi...
asked by 10.01.2018 / 21:42
1
answer

Doubt about floating positioning

Hello, I would like you to clarify the following problem. In itself the floating positioning I have it quite understood, but I have been testing the following example. .contenedor { width: 500px; background-color: aqua; border:...
asked by 03.01.2018 / 18:33
3
answers

How to center my logo and text on my website? [closed]

How can I make my page centered? I already tried it with center-block but it does not focus when I show it in the browser File index.html /* FILE: main.css */ body { background-color: black; color: white; } img...
asked by 23.12.2017 / 20:40
1
answer

Positioning divs CSS

I have a div search and I want to have another div show_cabañas . I wish that in the form, which is inside search , if we press Search we open / load the div show_cabañas and that it appears below the div sea...
asked by 25.12.2017 / 12:41
1
answer

Positioning div - CSS

I want a div to be placed in the upper right margin of the page but not to untick the other div that should be centered on the whole page. That is, a div to "greet the user" on the top right, and a div "book" in the center of the page. When I...
asked by 24.12.2017 / 11:50
3
answers

How to do this with html and css or what do you recommend

Hello for a while I'm trying to do something like this: And I would like it not to damage with responsive , that the text stays in the middle and the lines are shrinking according to the screen, every time I do it or it works for me...
asked by 21.12.2017 / 15:16
2
answers

How to move the contents of the div to the middle of a carousel image?

Very good dear friends, I need you to help me that a div that inside takes data put it in an image (carousel item) centered. reference image ... <div id="owl-demo" class="owl-carousel text-center"> <?php require_once("confi...
asked by 28.12.2017 / 23:04
1
answer

Change different color elements of a svg image

I want to work with the elements of a .svg file such as the one in < circle > that is observed in the code; but in what way can I do with javascript any idea or guidance?, Greetings to all:) <?xml version="1.0" encoding="utf-8"?> &...
asked by 12.12.2017 / 03:31