Questions tagged as 'css'

1
answer

Overflow-x hidden no body

I added Overflow-x: hidden in the body but it is not working. overflow hidden disable scroll, or just hide the bar? html, body{ overflow-x: hidden; -webkit-overflow-x: hidden; } /* tentei das duas formas */ body{ overf...
asked by 13.05.2015 / 17:28
2
answers

Function add class in pure JavaScript [can not be es2015 / 2016]

Good morning, everyone. I've done an effect in which you click on a div and swap the image with css animation effect. In the case, I used the jquery addClass / toggleClass (I used the 2). But I wanted to do a script using pure JavaScript...
asked by 26.05.2017 / 16:01
1
answer

Divide CSS styling [duplicate]

I'd like to know how you can customize the div to make it "cross", as in the image below, where the top-left and bottom-left of the orange div are half cut.     
asked by 10.07.2016 / 16:08
2
answers

Carousel with only CSS: problems with centering and setting size

I have a carousel created with only CSS, but I have identified some difficulties. All images are in the 4: 3 aspect ratio and can have up to 640x480 px (that is, they may be smaller than this value), so: I can not center the next and previ...
asked by 12.11.2016 / 20:26
1
answer

Align div vertically in Internet Explorer 11

I'm studying css and challenged myself to create a reproduction of an image that follows: Iwasabletodosomethingsimilar,butIcouldnotworkthesamewayinInternetExplorer,Isawsomeexamplesusingdisplay:tableandposition:relativebutIdidnotsucceedinacro...
asked by 17.06.2016 / 22:40
1
answer

How to simulate a radio-type input for the screen reader?

I'm doing a satisfaction survey that should be accessible to users with screen readers. For each question, answer options containing a text "Great, Poor, ..." and an image corresponding to the text are displayed. For aesthetic purposes I do...
asked by 01.09.2017 / 20:32
1
answer

Concatenate multiple sass / css files in a single final css

I'm using laravel 5.4, which by default brings a webpack.mix.js file which will be the files to be concatenated and their destination. My problem is concatenating scss files with css , what I have in webpack.mix.js...
asked by 23.08.2017 / 19:09
3
answers

show all select options without scrollbar

I have a select that brings information from a JS, however this select is forming a scroll bar and the options are not many and there is room for more options to be shown however regardless of what I try I am not able to make all the data is dis...
asked by 22.03.2016 / 18:03
2
answers

Facebook Page Plugin giving "Failed to load resource"

I would like to use the Facebook page plugin, but I can not. After adding this code at the beginning of the body tag <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (...
asked by 10.10.2015 / 16:46
1
answer

Css code changing entire page layout

I created an image with hover effect that shows a listing on top of it when mouseover, but the code is changing the entire layout. CSS: div a { text-decoration: none; color: white; font-size: 23px; padding: 0px; d...
asked by 13.10.2015 / 23:10