Eva Chenim1010ioio.hashnode.dev·Sep 22, 2024#42 用 CSS border 繪製三角形箭頭 (等腰/直角三角形)↓ 今日學習重點 ↓ 學會用 border 繪製等腰與直角三角形 在 CSS 中,可以使用邊框 border 來繪製三角形,通常會被當成箭頭使用,用在提示框的邊緣或操作步驟按鈕上。 CSS border 三角形原理 首先我們先來觀察 CSS border,讓我們把一個正方形的邊框加粗,而且把四邊的顏色換成不一樣的: 我們會發現邊框與邊框之間會變成斜線的形狀,區隔出兩種顏色。 這時候如果我們再把這個方形的寬高設為零看看: .tri { height: 0px; widt...DiscussSuper Easy CSS,極度簡單:寫出好的 CSS,從零開始前端生涯CSS
Rizwan Khaniconiccode.hashnode.dev·Aug 4, 2024From Concept to Code: Solving pattern problems using JavaScriptA pattern is a recurring sequence or repetition. Practicing pattern is highly recommended to master the looping, nested looping in JavaScript. Mastering patterns is the most common used approach while learning the basics of JavaScript. At least, a go...DiscussJavaScript
Abhik Bhattacharyaabhikb.hashnode.dev·Jan 10, 2024Coding a Pascal's Triangle Best Explanation1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 That's how a pascal triangle looks like... Understanding the row structure Rows start from 1 , so row 1 is 1 , row 2 is 11 , row 3 is 121 & so on.... At first glance it looks like first row is 1, then ev...Discuss·37 readsPascal's Triangle
Prakhar Parasharicodeprakhar.hashnode.dev·Dec 9, 2023The Unsolvable Triangle: CAP TheoremIntroduction In the world of distributed systems, data consistency, availability, and partition tolerance are key considerations. Unfortunately, achieving all three of these goals simultaneously is impossible. This is where the CAP Theorem, also know...Discuss·15 likes·131 readsCAP-TheoremInsightful article 3