Questions tagged as 'css'

1
answer

Select multiple CSS classes with wildcard

I want to color all classes of a grid that I downloaded, the Flexbox. It has 12 columns, I want to do something like col-md-* and select all that use this class to color.     
asked by 05.01.2017 / 01:54
4
answers

Responsive picture

How to make the effect below gradually, according to the screen resolution. * No clip, otherwise there would be a lot of media queries, and on this site, the effect seems like a smooth transition. CSS:/*listadenotícias*/.chamada{border-bo...
asked by 05.09.2016 / 15:08
2
answers

Make a checkered HTML list

Hello, I would like to know if it is possible to make a checklist, like the image below, with css only (please disregard blue lines): I found the nth-child function of css, but I was able to do just that: .box_parceiro:nth-child(odd) { b...
asked by 30.03.2016 / 14:51
1
answer

Font size, px or pt?

I get the layout in PSD, I export as needed. And I make font-face when needed. The Photoshop that I have, shows the font sizes in pt , I always applied px in CSS. I was reading this , and I saw that he treats these two measures dif...
asked by 30.07.2014 / 19:29
1
answer

Center parent div when children have dynamic width

I have several div's with the following css: float:left; width: 25%; min-width: 300px; max-width: 400px; That is, as I insert a div, it fills in the available space from the left side of the parent div and when there is no space it breaks d...
asked by 21.05.2014 / 20:26
1
answer

Can you make feature detection for CSS?

I know the feature detection ("discovery of functionality") technique - as well as feature inference - when it comes to JavaScript: if ( window.XMLHttpRequest ) { ... } But how can you do this for CSS too? For example from this other...
asked by 27.08.2014 / 16:13
1
answer

Is there any way to add css rules by javascript?

If I have the following tag style : <style> body{ color:red; } </style> Would it be possible to add a new css rule as within that style through Javascript ? For example, I want to add this to the end of...
asked by 14.12.2015 / 17:54
1
answer

Catch the parent element in hover

Good Morning! Is it possible to change the parent element by hovering on the child? For example, I have the following: nav {border:2px solid red} nav ul li {color:#fff} nav ul li a:hover {background-color:#ccc} nav ul li a:hover...
asked by 14.04.2015 / 14:06
2
answers

Make shapes with CSS [duplicate]

I need to do this with CSS. But it can not be border . Follow the form: It can not be bordered because forms using border do not allow me to place text within them.     
asked by 01.12.2015 / 16:35
4
answers

How to create a custom context menu?

When we right click on certain areas of the page the default PopUp of browsers appears: I'd like to showcase my own custom PopUps ! Is it possible to intercept the click and open a different menu?    Note: I have JavaScript p...
asked by 10.02.2016 / 16:37