Questions tagged as 'css'

3
answers

Remove the added style with .css () function with jQuery

I'm changing CSS with jQuery and need to remove the style I've added: if(cor != 'ffffff') $("body").css("background-color", cor); else // remover style ? The above line runs whenever a color is selected using a color picker when the mouse m...
asked by 14.12.2017 / 11:46
1
answer

Chrome and bug background fixed

I have the following problem: I have some separate sections on the page in divs. Two of these divs get an image like background and background-position:fixed , so when scrolling the page the images should scroll together, making...
asked by 18.11.2014 / 11:33
1
answer

Image limit per line using FlexBox

I'm using flexbox to display images, however it lists all in one line, I'd like to be able to display 3 images per line. HTML structure: <section class="content"> <?php $i=0; $sql = mysql_query("SELECT * FROM slideshows...
asked by 25.02.2014 / 21:23
3
answers

Side banner that accompanies the scroll

I wanted to add a side banner, which depending on the scroll, the banner accompanying the page. The image shows what I want to do: Butthebannercanneverpassafewlimits,thatis,itcannotgooverheadernorfooterandkeepinginmindthatpagesizeisnotalwaysthes...
asked by 02.04.2014 / 10:36
2
answers

Vertical alignment in a div with position: absolute

I would like to know if it is possible to vertical-align in a div with position absolute? Here is the code for analysis: .teste { background: #F00; width: 500px; height: 100px; display: table-cell; vertical-align: mi...
asked by 28.08.2014 / 16:22
2
answers

How to print A4 pages using CSS?

I currently use the mpdf library for reporting. However, in some reports I need to issue more than 400 pdf pages and this takes a lot of time and consumes a lot of server resources. I even checked library performance issues to try to optimize...
asked by 25.08.2016 / 15:35
1
answer

Carousel Content Affects SEO? Is the content of the hidden Carousel indexed?

I have a question regarding the Carousel and how its contents are indexed by crawlers . First, I believe most Carousel are not so friendly from the point of view of Accessibility . This in itself could already hurt the indexing of the conte...
asked by 03.01.2019 / 13:38
1
answer

How to do animation with SVG or CSS of a Text walking along the path?

I have an SVG which is a Text aligned in a Path . But my intention is to make the text "running" by Path , like a Marqueer . The idea would be something like this image. ButwhatIwasabletodowasanimatetheentireElementby"running...
asked by 28.11.2018 / 12:36
3
answers

Elements with corners cut with Css

I need to make elements with cut corners, equal to these squares. How can I do it?     
asked by 04.03.2015 / 13:55
2
answers

Use date or class to query DOM elements

Here I am needing a little help to get a broader view on this. As a rule I usually avoid using class to query elements in HTML, for this I end up using a custom data property . In many cases I end up having duplicates in html:...
asked by 04.03.2015 / 17:53