Skip to content

Instantly share code, notes, and snippets.

Avatar

Terrance Smith terrancesmith98

View GitHub Profile
View TwoDimensionalArrayPositioning.cs
namespace ConsoleApp
{
class Program
{
static void Main(string[] args)
{
string[,] sections = new string[3, 3];
sections[0, 0] = "top left";
View flex-basis-function.scss
$gutter: 10px;
@function px-to-pc($target, $context: $max-width) {
@return ($target / $context) * 100%;
}
@function per-line($items) {
$g-pct: px-to-pc($gutter) * 2;
$g-total: $items * $g-pct;
@return (100% / $items) - $g-total;