Questions tagged as 'css'

5
answers

CSS Child selectors in IE8?

Today I needed to make a fix for IE8 in which I used the following selector to align 3 boxes horizontally. #page-content .section-servicos .box-servico:nth-child(3n+2){ margin-right:0px; } In IE8 this code does not work, so I decided to do...
asked by 17.02.2014 / 17:50
1
answer

Is there any way to remove unused CSS and JS code from the application?

I wonder if there is an transpiler that parses the classes and ids used in an HTML page and removes all classes and ids in CSS and JavaScript. This would be interesting to further narrow down files by improving page performance.     
asked by 13.12.2018 / 12:02
1
answer

How to create a textarea with multi columns (like a newspaper?)

Is there a way to create a textarea that its display is multi-column? I have several fields in textarea for the user to be able to make edits, but I need these textareas to be displayed in a newspaper form, those of multi columns. I resear...
asked by 29.09.2015 / 17:02
1
answer

Why is this Bootstrap Tab setting not working?

The code is as follows: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Site</title> <link href="css/bootstrap.css" rel="stylesheet" type="text/css"> <link href="css/bootstrap-theme.c...
asked by 26.04.2014 / 20:08
2
answers

jQuery - Toggle background-image of an element

I have an element figure with a series of images inside: <figure class="MiniModImgSlider"> <img src="img01.jpg" alt="img01"> <img src="img02.jpg" alt="img02"> <img src="img03.jpg" alt="img03"> <img src="img04...
asked by 14.04.2014 / 18:21
3
answers

How to call scripts in a Wordpress child theme?

I'm trying to put together a Wordpress template. What I can not do is still call the script in the child theme I created. CSS worked, but the scripts did not. There are several, and I got lost in how to put them in functions.php . I'm t...
asked by 20.02.2014 / 03:11
2
answers

How do I make the page print out the way it is viewed on the screen?

I need to make a page that, when the user prints, quit exactly as it is viewed on the screen (with styles), I'm using Bootstrap version 3.1. Is there a Javascript plugin that does this? The solution I thought was instead of getting the s...
asked by 14.04.2014 / 16:40
2
answers

How to make a site that fits between 970px and 1300px

I need to make a site that has a minimum resolution of 970px, but that fits up to 1300px wide. Searching, I found something like this: .container-fluid { margin-left: auto; margin-right: auto; max-width: 1300px; } But how muc...
asked by 07.04.2014 / 14:17
1
answer

Prevent zooming on your smartphone / tablet with Bootstrap 3

I use Bootstrap 3 in my projects and I have a question. I would like to know how to prevent zooming on smartphones and tablets, that zoom that is done with the "tweezer" movement or double touch. This maintains the responsive behavior of B...
asked by 05.01.2015 / 14:14
2
answers

Limit scrollbar according to div size

Is there any way to limit the page%% by size (height) of a barra de rolagem ? Let's say I have a site like any other, but when I open a floating% 1000px height, I want the div of the mouse to hang when it reaches the end of thi...
asked by 15.12.2014 / 19:53