<body>
<div class="header-8">
<div class="container">
<div class="row">
<div class="col-md-8">
<h1 class="#headline.6">International Network</h1>
<h4>We know how large objects will act, but things on a small scale</h4>
<div class="cta">
<button class="button.bt.primary-color.btn-round">
Get Quote Now
</button>
<button class="button.bt.primary-color.btn-outline.btn-round">
LEarn More
</button>
</div>
</div>
<div class="col-md-4"></div>
</div>
<div class="row">
<div class="col_md_4">
<div class="card-item">
<div class="icn resize icn-md">
</div>
</div>
</div>
</div>
</header>
</body>
Please click the above link to view the picture.
As you can see, I am not able to find the vector icon code for my project in FIGMA.
See the left side, Vector is clicked and on the right side the icon are visible.
But I don't know what's the code for it.
Moreover, if anyone have done any FIGMA project, can you tell me that I have placed the div tags correctly in VSCODE according to the left side objects?
By the way,you can right click the svg icon and copy as svg,or download the svg and show in your browser,check the html elements and copy the svg elements is also works
Try to find your vector icon in inspect selection,it's here:
Related
I have div(class: review-tiems-container) with some items, on flex-direction:column they all show up, on flex-direction:row first one completely and some part of the second item disappear from screen, even when moving with mouse over mobile resolution.Even from editor mode hovering over their element, it shows empty space on dom.
this is how html looks, those item have inside content aswell but removed to reduce code length
<div id="reviews">
<h1 class="reviews-header">
Hear what our customers
<span>
are saying
<img class="why-underline" src="./Imgs/why/headerunderline.png"/>
</span>
</h1>
<section>
<div class="review-info-bar">
<div class="review-numbers">
</div>
<button class="review-btn">
</button>
</div>
<div class="review-items-container">
<div class="review-item">
</div>
<div class="review-item">
</div>
<div class="review-item">
</div>
<div class="review-item">
</div>
</div>
</section>
</div>
I tried different overflow options, none of them work
Helle, I am making a website. This is a project for my studies. Since I haven't studied java script yet, I wanted to make a carousel in html en css only. This one works well except that when I press the right/left chevrons, the page scrolls down. I couldn't find where the problem was in my code.
My teacher asked me to come and ask you the question.
I therefore cometo ask you for help in order to find the solution.
Many thanks in advance.
Have a good day.
<body>
<div id="conteItemsCarrusel">
<div class="itemCarousel"id="itemCarousel-1">
<div class="carousel"id="acarrusel-1">
<img src="./image/cuisinier.jpeg" alt="itemCarousel-1">
</div>
<div class="fleche">
<a href="#itemCarousel-3">
<div class="gauche">
«
</div>
</a>
<a href="#itemCarousel-2">
<div class="droite">
»
</div>
</a>
</div>
</div>
<div class="itemCarousel"id="itemCarousel-2">
<div class="carousel"id="acarrusel-2">
<img src="./image/photojpgd.jpg" alt="itemCarousel-2">
</div>
<div class="fleche">
<a href="#itemCarousel-1">
<div class="gauche">
«
</div>
</a>
<a href="#itemCarousel-3">
<div class="droite">
»
</div>
</a>
</div>
</div>
<div class="itemCarousel"id="itemCarousel-3">
<div class="carousel"id="acarrusel-3">
<img src="./image/serveur.jpeg" alt="itemCarousel-2">
</div>
<div class="fleche">
<a href="#itemCarousel-2">
<div class="gauche">
«
</div>
</a>
<a href="#itemCarousel-1">
<div class="droite">
»
</div>
</a>
</div>
</div>
</div>
</body>
WhyMy page scrolls when I click on the chevrons and I don't know where is the problem in my code
The point of href="#foo" is to link to an element on the page and scroll directly do it.
You are presumably (you didn't include your CSS in your question) using :target to style that element. :target is designed so you can add additional styling to the element to draw more attention to it that it would get from just being at the top of the screen.
You appear to be trying to get the styling of the element linked to element without triggering the primary effect of linking to it.
You can't do that.
If you want a carousel, then use JavaScript. It's the right tool for the job.
All that it displays when I click on it is black background.
Here is my code:
<div class="cbp-item art illustration">
<a class="cbp-caption cbp-lightbox" data-title="Abstract Art Museum" href="https://www.youtube.com/embed/watch?v=LnwPD69Fbh4"> <div class="cbp-caption-defaultWrap">
<img src="assets/images/portfolio/masonry/art.jpg" class="portfolio-thumbnail" alt="" >
</div>
<div class="cbp-caption-activeWrap">
<div class="cbp-l-caption-alignCenter">
<div class="cbp-l-caption-body">
<div class="cbp-l-caption-title">3D Abstract Museum</div>
<div class="cbp-l-caption-desc">Video</div>
</div>
</div>
</div>
</a>
</div>
I tried to change URL and use embed code. I also tried to research more on it but it kept on showing lightbox for images with code that had modal involved in it. I have seen this code work before without the use of modal but I feel like something else is missing.
I need to put a link href="/favourites_new/" in the text so that when I click on the card (not on the text itself) I could go to another page. There is my simple code
<div class="left-card-parent">
<div class="left-card">
<h1 class="left-card-h2"> ⬅</h1>
<p>selected</p>
</div>
</div>
How should I solve my problem?
Add all you code inside an tag
for example
<a href=your link here>
<div class="left-card-parent">
<div class="left-card">
<h1 class="left-card-h2"> ⬅</h1>
<p>selected</p>
</div>
</div>
</a>
I am trying to add a chat to test site. Using float right is perfect, because if the screen goes smaller then it moves with it, but the problem with that it's not "not enough right" for me. Is there any other responsive ways to get the chat more right? I am using bootstrap
Here is the chat HTML code:
<div class="chat pull-right" style="width: 30%">
<div class="panel panel-default">
<div class="panel-heading"><h3 class="panel-title">Chat</h3></div>
<div class="chat-messages panel-body">
<div class="chat-user">
<div class="chat-username">James</div>
<div class="chat-message">This is a test</div>
</div>
<div class="chat-user">
<div class="chat-username">David</div>
<div class="chat-message">This is a test</div>
</div>
</div>
</div>
</div>
I don't know where you want have your chat box, example if if want to have chat options always on right corner or always on half height of display, you can use position absolute and z-index for that. PS what mean: "not enough right"? Can you add some screen shot or maybe example on bootply or fiddle.