Questions tagged as 'css'

2
answers

Paging effect

Note sites and blogs with pagination in the header or footer. When the Anterior or Próximo button is pressed, the bold link is highlighted in the numeric link, signaling the page where the user is currently. Well, in the middl...
asked by 27.05.2016 / 01:39
3
answers

How to avoid repeating html and css commands?

How do I not repeat the HTML and CSS code of a website structure? For example, I made the structure of a web page and I want this structure to be applied to the other 5 pages that I will create for this site. Follow the print of the page:...
asked by 14.08.2017 / 16:43
2
answers

Change CSS by scrolling the page

I was wondering how to swap a page's CSS after it gets scrolling out of its default location. An example of a site that uses this is Deviantart. This TODAY BROWSEWHAT'S HOTUNDISCOVEREDDAILY DEVIATIONS menu is suddenly fixed once the page...
asked by 30.08.2015 / 21:11
2
answers

Put image in a bootstrap menu

How do I place an image in the right-hand corner of a menu bar with bootstrap. Below the code for my Layout (Master) <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width...
asked by 20.08.2014 / 20:15
2
answers

Count visible and active inputs in my form

Well, I know that Jquery Validation does something similar because it only blocks a required field, if it is active, see example (In that case, if you accept "Please agree to our policy" it activates the 3% under% and comboBox bec...
asked by 09.09.2014 / 15:13
1
answer

Setting width to occupy space that needs to be occupied in a div

Assuming I have this structure: <div style="width:1000px"> <div id="div1" style=""></div> <div id="div2" style="width:300px"></div> </div> How to make div1 exactly occupy the remaining space (700p...
asked by 18.07.2014 / 19:59
3
answers

Hover in two elements at the same time

I have a div and within it a <a> can hover in the div, but the color of the anchor does not change. HTML structure: <div class="TamanhoECorTabs ThemeGrid_Width6"> <a id="ancora" tabindex="14" href="#">Home</a&g...
asked by 10.07.2014 / 14:48
2
answers

How to apply responsiveness to texts?

I'm using the front end of a responsive site, I've read some materials on how to set up responsive sites, and I'm using 'EMS' instead of pixels in font sizes, but they do not change according to screen resolution. Ex: I stated in the body: body...
asked by 09.10.2014 / 21:15
2
answers

How do you make elements fit the text size?

I'm developing a website in which all pages have one with a title that varies in size, and in the same title there are two lines, one on each side of the text that has to fit the right size. I know it sounds confusing, but to explain it bette...
asked by 19.12.2014 / 20:43
1
answer

How to change background color according to value

I have created a script to count characters of a textarea in JavaScript, the code is this: <div> <p class="texto-cont">Restam <span id="cont">2.200</span> caracteres</p> </div> fu...
asked by 25.10.2018 / 07:51