Questions tagged as 'css3'

1
answer

Is it possible to use Input Value as a CSS selector?

See the examples below. I'm trying to style my CSS through value that it has, but it's not working. I've assembled 3 examples, one so that if input has [value="red"] it should have a red border. But even if you type re...
asked by 10.12.2018 / 11:45
2
answers

How to make a text reflected with CSS? (type a mirrored text)

I'd like to do a reflected text effect or mirrored text only with CSS Type this image: Doesanyonehaveanytips,ordoyouknowifitispossibletodothismirroredeffectwithonlyCSS? h1 { font-size: 3rem; font-family: sans-serif; text-align:...
asked by 01.10.2018 / 18:11
1
answer

How to prevent an Input Required from starting with the CSS style: invalid

When I have a input required that has some CSS style when it is :invalid , even before the user interacts with input it already becomes stylized as invalid. How can I avoid this? See the example: input:invalid {...
asked by 05.09.2018 / 21:13
1
answer

My CSS file is too large and it is difficult to keep readability

My CSS file is close to 10,000 lines. It is getting very complicated to maintain this file. in its version of Development the file "weighs" 170kb and in its minified version, "only" 128kb Some points to consider: Avoid unnecessary network...
asked by 11.02.2016 / 17:09
1
answer

Relative sidebar in responsive layout

Solved, look at my answer * I asked this question in the gringas, but I do not think I could express myself well there. Question there: link I have my header and below I have the content. The content is basically composed of two divs...
asked by 27.08.2014 / 02:51
2
answers

How to insert an image inside a CSS file?

I use a program here in the company that in its Web module it has its logo inserted directly in CSS something like: #logo img{ max-width:100%; background-image: 'data|base64=acSs....'; } How do I create this kind of background myself?...
asked by 13.12.2013 / 19:46
1
answer

Banner floating sidebar with Jquery with scroll

It's the following .. I have a floating banner on my blog that uses the following JS $(function(){ var jElement = $('.element'); $(window).scroll(function(){ if ( $(this).scrollTop() > 2000 ){ jElement.css({ 'posit...
asked by 28.02.2015 / 00:17
2
answers

Input radio that looks like checkbox?

I need to do a quiz, and the alternatives are radio type inputs, but it looks like custom checkbox. What is the best way to do this? .tabs-below > .nav-tabs, .tabs-right > .nav-tabs, .tabs-left > .nav-tabs { border-bottom...
asked by 06.04.2015 / 03:34
2
answers

Image distortion with CSS?

I'm in a project where the responsible designer gave me the following layout to go to HTML + CSS: Can anyone tell me if I have a way to do this with CSS3? I initially thought of a box-shadow, but it has no way to implement the way it was...
asked by 03.05.2014 / 15:47
2
answers

How can I leave half of a side of an element curved inward as in the figure with css?

I need to make a menu exactly the same as the one in the figure, the problem is that I can not do the bottom curve of the element, preferably I would just do it with css, but if it does not, another solution is accepted.     
asked by 26.08.2015 / 13:50