Questions tagged as 'css'

11
answers

Center image vertically within a div

I need to center images within a div . I can do this horizontally with text-align:center; , however I want to centralize vertically . I tried vertical-align: middle; and display: table-cell; and it did not work. Is...
asked by 11.02.2014 / 14:48
2
answers

How to print only the first 5 characters?

I need to display up to 5 characters of the contents of each table cell at a specific resolution. I do not know if there is any Pseudo Elemento that does what I need, something like: Example: @media (max-width: 548px) { p:only-fi...
asked by 18.01.2017 / 12:35
4
answers

Color Loop in Text

I have the following structure in HTML: <font class="a">J</font> <font class="b">o</font> <font class="c">ã</font> <font class="d">o</font> <font class="e">P</font> <font class="f"...
asked by 06.03.2014 / 14:48
2
answers

Navigation scroll in Bullets

I'm developing a one page scroll site and wanted every bullets I clicked to be active for the page I'm on. This is the example I'm doing the scroll script did not put in yet but wanted to leave the effect of clicking the bullets ready. <n...
asked by 18.02.2014 / 14:46
1
answer

What is User Agent StyleSheets?

Studying on CSS I came across the term User Agent , or standard style sheets used by browsers in the absence of style sheets. What is the User Agent ? Each browser has a User Agent ? Is there any way to ignore them, if so how? def...
asked by 17.11.2016 / 11:39
6
answers

Input type="password" with the eye to show password

I need to put a <input type="password"> with that password reveal eye, however it has to work as follows: User clicks on eye and loosens the characters again. Here is a sample photo:     
asked by 04.12.2015 / 16:56
2
answers

How to make lines intersecting in a border, with CSS?

Does anyone know how to make a border that "leaks" out of the div as well as into the image? I need this cross border of the lower corners, these "xiszinhos" or "crosses" Thank you in advance     
asked by 19.04.2016 / 15:29
3
answers

With CSS to cut a text? Type a cut text effect or broken font?

I was wanting to create a text to use as <h2> in the site, I wanted the form of text to be maintained I do not want an image, because I want to keep the text semantic and accessible. Is there any way to get this result with CSS...
asked by 10.10.2018 / 20:50
2
answers

Circle with curved edge

I was tasked to make a website, and I'm having a hard time doing a detail in CSS I need to make a round border that has a curved end, for you to understand better, I will show photo and post my code What I need (Photoshop) WhatIhave Iwoul...
asked by 18.05.2018 / 04:02
2
answers

Vertical text alignment with CSS

HowcanIalignthistext"Adopt the rhythm of nature: its secret is patience," vertically and horizontally within the white field? I used the following code: <ul> <li> <a> adote o ritmo da natuza: o segredo dela é...
asked by 07.03.2014 / 22:03