Questions tagged as 'css'

2
answers

index with dotted width 100%

In CSS, how can I make an index equal to Word taking 100% of the width of the container and using dots to separate the "title" from the "page number"? Type: Goals - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -20 Met...
asked by 14.11.2016 / 14:24
2
answers

Centralized Menu

I'm having a hard time aligning the text from my menu to the center, so I'm starting to learn how to develop websites. Website Image: Thecodelookslikethis:<center><h1>MeuSite</h1><divid="menu"> <ul>...
asked by 11.05.2016 / 15:16
3
answers

How to make a burger menu open from right to left?

I have a hamburguer menu that opens from left to right, however, I would like it to open up from the right to the left, how do I do this? Following is my code below: /* * Open the drawer when the menu ison is clicked. */ var m...
asked by 13.12.2016 / 12:37
1
answer

CSS reset is always the same?

Is the CSS Reset always the same, or are there other ones that while maintaining the same pattern have more specific characteristics? Is it all rule that CSS Reset are the same, ie if I create mine with what is already expected and increment wit...
asked by 16.08.2016 / 05:17
1
answer

Is it possible to use Input Value as a CSS selector?

See the examples below. I'm trying to style my CSS through value that it has, but it's not working. I've assembled 3 examples, one so that if input has [value="red"] it should have a red border. But even if you type re...
asked by 10.12.2018 / 11:45
2
answers

How to make a text reflected with CSS? (type a mirrored text)

I'd like to do a reflected text effect or mirrored text only with CSS Type this image: Doesanyonehaveanytips,ordoyouknowifitispossibletodothismirroredeffectwithonlyCSS? h1 { font-size: 3rem; font-family: sans-serif; text-align:...
asked by 01.10.2018 / 18:11
2
answers

How to specify a CSS class for text that breaks line in an HTML element?

Most of the time I work with text within HTML elements, I use a CSS resource called line-height . Suppose the height of a specific element is 50px , so I put line-height with 50px also so that the text is centered....
asked by 20.02.2014 / 02:54
2
answers

Move div when mouseover

How do I create the effect similar to this site: link When you hover over the div containing the image of the project, another div appears on the same side as the mouse. That is, if you move your mouse over the right the div will enter o...
asked by 13.04.2018 / 21:01
1
answer

photo album with HTML and CSS

   I have a folder on the site called PHOTOS , by clicking the PHOTOS folder I thought about putting several < article > sharing each photo album type: < article > album de fotos 01 < article > < article > al...
asked by 09.03.2018 / 14:52
1
answer

How to prevent an Input Required from starting with the CSS style: invalid

When I have a input required that has some CSS style when it is :invalid , even before the user interacts with input it already becomes stylized as invalid. How can I avoid this? See the example: input:invalid {...
asked by 05.09.2018 / 21:13