Questions tagged as 'css'

2
answers

Use table or not

I need to position labels controls, exactly one underneath the other and sometimes to the side. I do this with a table, but I ask. Is there another way to do this and give a result similar to table? Table is legible, and everything mine is dynam...
asked by 08.05.2014 / 01:46
1
answer

How to make the Youtube Music fixed menu effect

I would like to bring this effect of the Youtube Music app menu to my site. Basically it rolls along with the page when descending and appears again when ascending, fixedly. Mycurrentattemptisnotsimilar,whengoingdownthepagethemenugoesupandwh...
asked by 12.12.2018 / 00:40
1
answer

How to make a header with a background image

I need to build a layout with the following structure. Wherethebluepartisgoingtobeanimage.<headerclass="header-bg"> <div class="logo"> <span>Logo</span> </div> <nav class="menu"> <ul> <li...
asked by 18.12.2018 / 23:07
1
answer

Hide a div by clicking the button with CSS

Can you hide a DIV with this button there? .button { display: block; position: absolute; width: 240px; height: 80px; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%,...
asked by 30.10.2018 / 00:06
2
answers

How to move html input

I wanted to move this login form to the center of the page but it will not. I tried padding , text-ident , align , nothing makes these input move, except for the button nothing moves, even doing until copied and pasted,...
asked by 29.10.2018 / 20:36
1
answer

Div is fixed by decreasing the screen

I'm developing the following website: http://173.44.46.62/~bellanap/pedidos.php However, when the screen is dimmed, the div where the form is breaking down. It needs to be fixed. Help me?     
asked by 01.07.2014 / 02:40
1
answer

float in some element, and the div does not accompany the content

I'm trying to float an element to the right, and this element is inside a div with no set size. The problem is that when you float the element p to div does not accompany the content. Follow the HTML code: <div id="d...
asked by 16.11.2014 / 19:46
1
answer

How to put right on the sidebar or navbar depending on the size of the screen?

I would like to put a Logo on the sidebar instead of navbar for larger screens, and when reducing the screen aspect ratio ( mobile devices, and tablets and smarts), the logo should go to navbar using Media Queries of Bootstrap 3.     
asked by 03.01.2015 / 18:46
1
answer

Modal that opens only the first time [duplicate]

I'm new here, I have a modal that opens automatically, I wanted to make it open only the first time for the user. I saw you have a way to do with cookies. insira o código aqui <!DOCTYPE html> <html> <head> <meta name="...
asked by 28.06.2018 / 02:10
1
answer

Active link with CSS: active

Folks, I 'm going to make a php code inside my class to display bold for example a specific menu that is active. <div class="menu-up"> <ul> <a href="index.php?url=menu"><li class="li-up fr <?php if ($_GET["u...
asked by 06.08.2014 / 08:36