Questions tagged as 'css'

1
answer

Placing Javascript in Div [closed]

I have this code to show this date <script language="javascript" type="text/javascript">// <![CDATA[ now = new Date document.write ("Esquenta Black Friday Somente Hoje " + now.getDate() + " do " + now.getMonth() + 1, ) // ]]></...
asked by 08.11.2018 / 14:38
1
answer

How do I fix css or code from my site logo so it always maintains the original size of width and height [closed]

I put additional css: nav-brand-sitelogo { height: 91px!important; width: 300px!important; } element.style { height: 91px!important; width: 300px!important; } .can-shrink-brand.sticky-brand-shrink-on .desktop-sticky .navbar...
asked by 17.12.2018 / 14:52
2
answers

Nav does not float right

The buttons on my navbar do not float right. I already tried to apply float: right in the menu and also in the items but it does not help. .container{ width: 100%; height: 100%; overflow-x: hidden;...
asked by 24.10.2018 / 23:25
2
answers

Changing an image with each click

Good people, I have a problem here. I searched several times here on the website and on the internet and did not have an answer that would help me enough, I still have questions. I have a website and I have sectors "collapsible", so to illust...
asked by 25.10.2018 / 16:23
2
answers

Set menu with bootstrap after scrolling down

I'm using bootstrap in my code You have a class in% of the bootstrap setting nav on top    navbar-fixed-top But I want nav to only be fixed when the scroll passes through it. How do I do this? An example:...
asked by 06.07.2017 / 10:17
2
answers

How to make a script that generates a random background color on the site?

Here's my code, I do not know what's wrong: var x = Math.random(); if (x < 0.5) { document.getElementsByTagName('body').style.backgroundColor = "lightgrey"; } else { document.getElementsByTagName('body').style.backgroundColor...
asked by 10.07.2017 / 23:18
1
answer

Jquery, exchange images when clicking

When I click on the image it changes the text, when it clicks on the bottom, it changes the text but I need it when I click on the image, which activates the jquery function, change the image. So, for example, I need to switch% from% to% with%...
asked by 31.10.2018 / 16:48
2
answers

In CSS, how do I, when giving a hover in a text, the image give a "scale (xx)" and underline the text?

In addition to the underline text, how do I make a scale (xx) at the same time as this? The image and text have different classes in my CSS file. I just need a north, a way to go.     
asked by 31.10.2018 / 15:51
1
answer

Show and Hide field with Select

I'm trying to display some fields of a form and in part I get it to work, but not quite even reviewing the code. I need to show the inputs with the labels and hide the inputs with their labels . When the select is of Tipo Pe...
asked by 04.10.2018 / 14:04
1
answer

Place description in hover image [duplicate]

I'd like to this hover effect from that site's image, but I'm not getting it. $('.img').on('mouseover', function(e) { $(this).css({ 'opacity': '0.5' }); $('.hiddenDiv').css({ 'display': 'block' }); }); $('.img')...
asked by 19.11.2018 / 17:49