skip to Main Content

Html – Select class where parent is last child in

I have a simple html hierarchy: <div> <div> <div class="custom-class">whatever</div> </div> <div> <div class="custom-class">whatever</div> </div> <div> <div class="custom-class">thing i want to select</div> </div> </div> I am currently adding attributes to .custom-class but would like to add a specific attribute to…

VIEW QUESTION

Html – Bootstrap Carousal Overflowing FIX?

Sample image of the situation I am building a portfolio with bootstrap and I have carousal on the top, but it is overflowing more which make it to scroll horizontally. Carousal html <div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <li…

VIEW QUESTION

Dual datepicker jQuery selection

I am building a date picker from scratch as a learning exercise. My date picker has two months side by side, and my question is, what does the jQuery look like for picking a start date and end date, allowing…

VIEW QUESTION

Html – Resize CSS triangle with window size

I have a div <div class="arrow-up"> that defines a triangle using CSS. Here's an example : .arrow-down { width: 0; height: 0; border-left: 20px solid transparent; border-right: 20px solid transparent; border-top: 20px solid #f00; } <div class="arrow-down"></div> I'm trying to…

VIEW QUESTION
Back To Top
Search