No styles in bootstrap css [closed] - css

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Created a div with a unique class applied to it in the file bootstrap unique styles, but when the page loads, they disappear. How to understand that their erasure and fix it?
.slider-container {
height: 100%;
position: absolute;
z-index: -11;
}
My site is - http://tourlly.com/new/

http://i.imgur.com/MvkTHzT.png
in your CSS. Check it. And try use validator for markup

Related

Can I use src attribute to get image instead of using url attribute in CSS for background image? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 months ago.
Improve this question
Generally we use this style
body {
background-image:url("../image/paper.png");
background-repeat: repeat;
background-color: #cccccc;
}
is it possible like this?
body {
background-image:src("../image/paper.png");/* want to use src attribute to get image */
background-repeat: repeat;
background-color: #cccccc;
}
Big NO. You can't it is out of css standard
Visit : https://developer.mozilla.org/en-US/docs/Web/CSS/background-image

Dealing with "vw" units in CSS [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I have a margin variable in SASS like:
$space-xxl: 8vw;
I'm using it with elements like
.element {
margin-bottom: $space-xxl;
}
This works fine because the margin depends on the screen width. I need a fallback for older browsers, is this the best way to do it?
$space-xxl: 8em;
$space-xxl: 8vw;
No, I think the fallback needs to be in the element itself, because SASS variables will not be read by the browser after you compile them.
.element {
margin-bottom: 8em;
margin-bottom: $space-xxl;
}

How to replace text in div using CSS? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm trying to take out text in a div, and replace it.
h2{content:none;}
h2:after{content:'CONTENT';}
I tried using text-indent, display:none, etc. Nothing is working. And no, I don't want to replace it with a picture. Please help, thanks.
You can try something like this:
HTML
<div id="bla">Hello world</div>
CSS
#bla:before {
content: "Goodbye planet";
position:absolute;
background-color:white;
}
Demo: http://jsfiddle.net/FHnks/1/
Note that content added via CSS is not a part of the DOM and will not be accessible via scripts.

How to add text using css in textarea? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am adding image using following css
{
background-image: url(../images/icon_new_reset.png);
background-repeat: no-repeat;
}
Then how to give alternate text or add text over background image.
if you use textarea you can't add text with css
but if you use div or ... you can add text using this:
<div class="testDiv"></div>
your style is like this:
.testDiv:after{
content: "your text";
}
by the way it's better use javascript or jquery for changing value or text.

Removing Extra Space After Player [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to display embeded video in my page in 720px x 405 px so I reduced the default size defined in theme which was 922px but after making changes there is an extra space which is creating an issue and I want to remove this space. Here is the screenshot which I got while using Firebug :-
link :- http://personal.t15.org/Untitled-2.jpg
link :- http://bit.ly/129HyJm
Can anyone tell me how to remove this space?
Add this CSS:
.fluid-width-video-wrapper {
position: relative !important;
bottom: -90px !important;
}
.embed-vimeo {
margin-top: -90px !important;
}
Add this to your css
.embed-vimeo iframe, .embed-youtube iframe{max-height:auto !important;}

Resources