Questions tagged as 'css'

2
answers

How to set search box in the menu?

I wanted to know how to set the search box in the menu !! The designe of the menu with the box: My code: .nav{ width:100%; height:42px; background-color:#4682B4; font-family:arial; font-size:1.000em; color:#f...
asked by 23.10.2015 / 01:24
2
answers

Why does the background-image url look for the image inside the Content folder?

I have a CSS like this: #hero { height: 100%; background-image: url("~/img/bg-img.jpg"); background-position: top center; padding: 0; overflow: hidden; } When I squeeze, the image does not appear, when I have to i...
asked by 21.10.2015 / 22:50
2
answers

Responsiveness in Bootstrap

I'm starting with the Bootstrap framework. My question is: When I specific a value to the width property in the container class, do I lose the responsive screen mode? because I did this procedure, and my responsive did not work anymore. Is there...
asked by 23.10.2015 / 04:49
2
answers

Form with multiple windows

I'm trying to make a form with multiple windows, but I do not understand what's going wrong. Test Code What I want to do is that by clicking the buttons it hides and shows the next form. UPDATE I followed @afonso's suggestion, bu...
asked by 29.02.2016 / 16:44
1
answer

Padding x position: fixed or position: absolute

I need to use padding to leave a spacing between the border and the center so what when I use padding the div is moving any have any ideas? link css html, body { height: 100vh; width: 100vw; margin: 0;background-image: url("http://img...
asked by 07.02.2016 / 22:56
1
answer

CSS3 Gradients - Doubt over syntax in Firefox and IE

I created the CSS code below in my Web project, the goal is to leave the top menu bar with a gradient from black to transparent, Chrome works perfectly, however I do not know which syntax to use for the code to work in Firefox and IE . .barra-...
asked by 03.11.2015 / 04:25
1
answer

How to load a CSS file dynamically in jQuery?

I'm developing a mobile application on HTML , JavaScript and CSS using phonegap . I need to adjust / fit the same page layout for both portrait mode and landscape mode. My question is as follows when I ide...
asked by 02.11.2015 / 15:58
1
answer

How to create arrow-shaped borders on the sides of a div

What I have is this: html, body { margin: 25px; } .arrow_box { position: relative; background: #88b7d5; border: 4px solid #c2e1f5; width: 200px; } .arrow_box:after, .arrow_box:before { bottom: 100...
asked by 14.01.2016 / 21:58
2
answers

menu with the selected option of another color in angularjs

My first question and my first "real" project, too. I am using bootstrap, html / css and angular and I have a horizontal menu in unordered list. What I need to do is that this menu has another color in the option that I click, but it did not wor...
asked by 18.11.2015 / 20:52
2
answers

Home screen - structure

I want to set as the home page of my site an image that occupies the entire background, as follows: <style type=text/css> body { background-image: url("imagem.jpg"); background-repeat: no-repeat; -moz-background-size: 100% 10...
asked by 12.08.2015 / 23:06