Questions tagged as 'css'

1
answer

Adjust DIV size to content

I'm working on a chat for a website, the chat is Ok, but as always I get to set up CSS. I want to adjust the DIV to the size of the content and put, only that the DIV occupies 100% of the width. .div-chat-i { color:#000000; background-color...
asked by 11.05.2018 / 20:57
1
answer

Crop image css

I wanted to finish cropping the image in css completely and removed all edges, but I can only cut it down and the right side. I wanted to know how I could do to cut completely, here is the code I am using and the image. css: div { b...
asked by 11.04.2018 / 20:06
1
answer

Mouse eventListener does not work

I took this example below the book "Eloquent JavaScript" 2nd edition in Portuguese pg.184. The goal is to draw points on the screen using clicks: every time the mouse is clicked, a blue dot is created where the mouse is pointing. But beyon...
asked by 15.04.2018 / 19:55
1
answer

Problem with background-image accessing google chrome browser on mobile

I'm having trouble with my background image on my page but just by accessing the mobile from Chrome or the default mobile browser, Mozilla Firefox from the mobile works perfectly. body{ background-image: url('/assets/img/background.jpg');...
asked by 09.04.2018 / 19:50
1
answer

how can I fix this menu at the top ,?

I have a site with a menu that is below my header , 150px below the top of the screen. I would like to make when I rolled the page and the menu of the site reached the position 0 of the top it was fixed and rolled the rest of t...
asked by 15.03.2018 / 12:43
1
answer

CSS: Leave Values Aligned

Good Night, I'm having a CSS problem I'd like to organize my users' postings in a row. I'm not very familiar with css, I would also like to know what tips you have to uncover this part of design. Code: .box { font-size: 8pt;...
asked by 12.03.2018 / 02:02
2
answers

Jquery - Having 2 menu (hamburger), how to close a menu while the other is open?

Good afternoon everyone! I made a structure where in mobile I need to show 2 menu's, but when I click on a precise one the other close and I can not do it, currently I can only open and close if I click on it, could you help me? > Thank you...
asked by 13.03.2018 / 16:51
1
answer

br automatic in mobile version

Hello, I have a question, I have a page that is in a provider that when the user exhausts the internet it is presented! But I wanted the images and buttons to buy new packages in the mobile version were placed vertically rather than horizontally...
asked by 31.08.2018 / 15:15
1
answer

Arrow function on slide

I would like to know if it is possible to make this slide that I adapted from "w3school", work with the arrows, and every time it skips image, the site will rise to the top again. HTML: <!DOCTYPE html> <html> <title>sli...
asked by 07.09.2018 / 21:06
1
answer

Change CSS with Javascript to required field

I joined W3 Schools and got a sample code for a multi step form. In the "default" mode it did not go to the next step until all the fields are filled. It turns out that I need only some fields not to be null, others may be empty. I looked at...
asked by 21.01.2018 / 20:50