css

space between 2 words CSS

[亡魂溺海] 提交于 2021-02-17 05:33:26
问题 I would like to do a space between 2 words in css for example: 1 RUNNING DAYS ADMIN@SUPER.BIZ In HTML there is  &nbsp but it's not correct to use &nbsp I think? <div class="bandeau-blanc"> <div class="sous-titre-bandeau-blanc"><i class="far fa-calendar"></i> 1 RUNNING DAYS    <i class="far fa-envelope"></i>ADMIN@SUPERBTC.BIZ</div> </div> How to do that in CSS ? .sous-titre-bandeau-blanc{ font-family: 'Open Sans', sans-serif; font-size: 13.3333px; color: #474747; padding-top: 14px; padding

Unordered List Won't Center Align

房东的猫 提交于 2021-02-17 05:31:05
问题 h1 seems to have no trouble centering, however, the list (menu bar) will not align, it seems to be indented slightly. Please explain. My HTML: <h1>Welcome!</h1> <ul> <li>Home</li> <li>About Us</li> <li>Contact</li> </ul> My CSS: h1{ text-align: center; } ul{ position:relative; display: inline-block; list-style: none; width:100%; text-align: center; margin: auto; } li{ list-style: none; text-align: center; margin: 15px; display: inline-block; } 回答1: There's still default padding on the ul

Postcss - color function plugin - “Unable to parse color from string”

依然范特西╮ 提交于 2021-02-17 05:30:15
问题 Using the following postcss plugins: postcss-cssnext postcss-nested postcss-color-function I constantly hit the following error, when using the following color function. Unable to parse color from string "l(-20%)" styles.css @import 'variables.css'; // ^-- contains: --blue: #3892e0; & a { color: color(var(--blue), l(-20%)); &:hover { color: color(var(--blue), l(0%)); } } Webpack 2 snippet { loader: 'postcss-loader', options: { plugins: [ cssImport({ path: './src' }), cssnext({ browsers: [

How to extend divs height till the footer at the bottom

可紊 提交于 2021-02-17 05:30:15
问题 I have troubles here I want that container color with linear gradient to go till the bottom to stick with the footer no matter does it have so much content for that Div container or not IF the sidebar has content more than the container and vice versa. Sidebar has no background color that color is from the parent wrapper Div. Also the footer I need to be sticked at the bottom after the content ends not to display empty spaces there. Here are my codes: CSS: #pjesa-kryesore{ /*main wrapper */

How to incorporate links inside a hamburger menu?

試著忘記壹切 提交于 2021-02-17 05:27:16
问题 I am having a hard time on how to re-arrange my HTML/CSS code in order to move a few links inside of a hamburger nav menu. I would like to have 'home' always visible but then, I would like the other linked pages to fall inside the hamburger menu, only visible when clicking the menu... I would like the following to be inside the hamburger menu: About Contact Portfolio ,etc. Any suggestions on how to achieve this? * { text-decoration: none; } body { background-color: #f3f3f3; } header {

How to incorporate links inside a hamburger menu?

℡╲_俬逩灬. 提交于 2021-02-17 05:26:06
问题 I am having a hard time on how to re-arrange my HTML/CSS code in order to move a few links inside of a hamburger nav menu. I would like to have 'home' always visible but then, I would like the other linked pages to fall inside the hamburger menu, only visible when clicking the menu... I would like the following to be inside the hamburger menu: About Contact Portfolio ,etc. Any suggestions on how to achieve this? * { text-decoration: none; } body { background-color: #f3f3f3; } header {

How to add add chart over the image

旧街凉风 提交于 2021-02-17 05:25:14
问题 I have an image in my div.Image is nothing looking like box.Now i want to insert bar chart(highchart library dynamic content) over the image.I mean inside that box image.How to do that? What i have tried <div class="" style="position:relative"> <div style="position:absolute; top:0; left:0"> <img class="" src="img/card1.png" alt="" style="width:400px;" /> </div> <div style="position:absolute; top:250px;"> <img class="" src="img/card1.png" alt="" style="width:400px;" /> </div> <div style=

Make my image full width

大兔子大兔子 提交于 2021-02-17 05:21:06
问题 How do I edit this in my css .container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container { width: 1170px; } The website is http://insightcxo.com/test-2 I want to make the image full width or 1230px This is the code I have in the editor .page-id-731 .container { width: 1230px; } Thanks! 回答1: Img { width:100%; max-width: 100%; } should work for you. 回答2: I want to make the image full width or 1230px img { min-width: 1230px; } You mean something like

javascript eventlistener on multiple objects

半腔热情 提交于 2021-02-17 05:19:02
问题 I made an EventListener for a few <div> elements, now i want do change the opacity on a child of this specific element to change if the EventListener is true on this specific element. How do I write that with jQuery or Javascript? I already wrote the pseudoquote, which I think should work. I have a problem to translate it to js. var overLay = document.getElementsByClassName("overlay"); for (i = 0; i < overLay.length; i++) { overLay[i].addEventListener("mouseover", mouseOver); overLay[i]

javascript eventlistener on multiple objects

半腔热情 提交于 2021-02-17 05:18:52
问题 I made an EventListener for a few <div> elements, now i want do change the opacity on a child of this specific element to change if the EventListener is true on this specific element. How do I write that with jQuery or Javascript? I already wrote the pseudoquote, which I think should work. I have a problem to translate it to js. var overLay = document.getElementsByClassName("overlay"); for (i = 0; i < overLay.length; i++) { overLay[i].addEventListener("mouseover", mouseOver); overLay[i]