Questions tagged as 'css'

4
answers

Is it possible to style all the occurrences of a word in a text?

I would like to know if it is possible to do this that I contemplate: We have a text that I want to highlight X Word, for example, Every time I type "Hello" it appears written in Blue. Without having to label in each word, but configure the s...
asked by 30.12.2016 / 17:46
1
answer

Properties defined in, #id vs .class

I have a question about the use of div and .class . I have an HTML5 document with several div . The point is that the div has defined CSS properties and I intend to modify them using a class. When I try it, I check t...
asked by 04.05.2016 / 13:35
2
answers

Progress bar css

I'm making a simple progress bar using <progress> , but I have an error when I add animation, it's still long and it does not respect the width: 100px; progress { border: none; border-radius: 2rem; width: 100%; hei...
asked by 17.10.2018 / 06:23
5
answers

Position footer ALWAYS stuck to the bottom of the page

Good afternoon people! I searched for half an hour and did not find anything that would help me or give me positive results. I have a dynamic table that changes the number of rows to display according to what one selects from the DropDownList. T...
asked by 23.05.2016 / 20:34
2
answers

CSS conditional on language

When a CSS stylesheet is included, you can specify the media query directly on the link tag with the condition that must be met for those styles to apply: <link rel="stylesheet" media="(max-width: 480px)" href="moviles.css" />...
asked by 26.09.2016 / 18:41
3
answers

Is there any difference between left and margin-left?

I would like to know what is the difference, if any, between left and margin left or right and margin right en CSS . Can it be that the difference is that one is CSS and another CSS3 ?     
asked by 08.01.2017 / 13:42
2
answers

Style half of a character

Is there any way to style only half of a character? For example, half of one color and the other half of another. Is there a CSS or JavaScript solution for this, or should we resort to images? (I know that there is a gradient, but we do no...
asked by 11.10.2017 / 11:07
1
answer

Basic doubt with margin. Father and son css

I know how to solve it, but my doubt is in why this happens. I have a Father section and inside a Son div. The thing is that by placing margin: 20px on the child, a margin is applied to everything, not just the child that is where I wanted to ap...
asked by 12.04.2018 / 06:50
4
answers

How can I align some components of a bootstrap3 navbar to the left and others to the right?

Starting from a navbar of Bootstrap standard we need that some buttons or links are aligned to the left, others to the center (for example: our icon brand ) and others to the right. This was the first thing I tried to do:...
asked by 17.12.2015 / 16:43
1
answer

Keep footer down (not fixed, not absolute) with css

How you can keep the footer below the page always, but without using fixed or absolute, because you can give several cases: In the event that the content is not enough to fill the page, the footer does not stay down unless you put a...
asked by 30.01.2018 / 09:59