Questions tagged as 'css'

3
answers

Catch the child element of the child in css

I have the following html structure: <div class="box1"> <p>texto</p> <p>texto</p> <p><img src="imagem1.jpg"></p> <p>texto</p> </div> <div class="box2"> <p>texto...
asked by 04.08.2017 / 00:43
1
answer

Aligns pseudo element to forward in the navigation bar

I'm having a hard time aligning the: before bar on the right. Can anyone help me with this? I'm using this code: .nav-romeu li:before { content: ''; width: 50px; height: 2px; background: #000; position: absolute; top...
asked by 04.08.2017 / 16:27
1
answer

Specific css file for each wordpress page

I'm making some custom pages in a wordpress template and would like to put a css stylesheet in each one right in the header. Is there any way to do this? I tried to get the page title and I could not. Just the post.     
asked by 03.08.2017 / 20:26
1
answer

Sort As By Date Of Publication As By Update

I'm setting up an Index and I'm trying to do the following ... I'm going to have this 'mini highlight' and at the moment I was able to sort it for DATE only, but sometimes the news will be updated and I would like this news to rise based on TBM...
asked by 03.08.2017 / 15:46
3
answers

Change the background-color of a div within a link

I am making a kind of button card inside a tag to create a link (bootstrap 4 beta). In the card there is a class that changes its background-color to a light blue. I want this card to turn dark blue by putting the mouse on it, but I can not beca...
asked by 28.08.2017 / 22:05
1
answer

How to create a Dropdown Multi-Level menu using HTML?

Good morning, I'm trying to create a multi-level dropdown menu by following the site template: link . However, the elements within the submenu do not appear. Here is the code: <html> <body> <nav class="navbar navbar-inver...
asked by 14.08.2017 / 15:21
1
answer

How to hide the scrollbar when you take the mouse and make it visible when placing the mouse?

Well guys, I made a side-nav with some content and I would like to make a scrollbar visible when the mouse is on top, but I would also like to hide it when the mouse is outside this side-nav.     
asked by 08.09.2017 / 21:11
2
answers

Div occupies the full width of the screen

I'm building a layout where there is a bar at the top of the screen that plays from side to side. I used the witdh:100%; property, but I did not get a satisfactory result. The body of the page is covering the entire screen, but both the t...
asked by 09.09.2017 / 17:57
2
answers

Should I use form or div?

In case of being sent with ajax I believe that it is recommended to use the form tag, but what if I just do something with javascript, ie only on the client side, for example change the background color of the application, or generate some rando...
asked by 09.09.2017 / 22:35
1
answer

Doubt in JScript - Center image

I have a function that puts images in the background of a circular div. Home I would like to center the image in the center of the circular div as in the following example: Ithoughtaboutputtingbackground-position:center;inJScript,willitwork?...
asked by 21.09.2017 / 14:10