No video

How to Code SVG Patterns (Part 1)

  Рет қаралды 5,734

Matt Visiwig

Matt Visiwig

Күн бұрын

In this tutorial, we look at the basics of coding an SVG pattern.
Part 1: Alternating pattern (basics)
Part 2: Hexagon pattern (coming soon)
Part 3: Doodle pattern (coming soon)
This series is based on my blog post that takes an in-depth look at creating SVG patterns: svgbackgrounds...

Пікірлер: 14
@saayxee
@saayxee 3 ай бұрын
Good video! Found it interesting, earned a sub.
@MattVisiwig
@MattVisiwig 3 ай бұрын
Thanks!
@living_in__mississauga
@living_in__mississauga Ай бұрын
Thank you!
@MattVisiwig
@MattVisiwig 29 күн бұрын
You're welcome
@jugibur2117
@jugibur2117 Жыл бұрын
Thanks Matt for shraing, that was really interesting!
@MattVisiwig
@MattVisiwig Жыл бұрын
Of course, glad you found it interesting!
@VideoNOLA
@VideoNOLA Жыл бұрын
6:55 I feel as though those black circles would have appeared just fine if you'd replaced the pattern rectangle's fill with "none" instead of "white".
@MattVisiwig
@MattVisiwig Жыл бұрын
The fill isn't hiding anything, everything that falls outside the pattern tile doesn't show. You can try it yourself if you'd like:
@GCASTILL0
@GCASTILL0 Жыл бұрын
Well done.
@MattVisiwig
@MattVisiwig Жыл бұрын
Thanks!
@VideoNOLA
@VideoNOLA Жыл бұрын
As with CSS's old 'image-repeat' element, can these Patterns be constrained to repeating only horizontally or vertically?
@MattVisiwig
@MattVisiwig Жыл бұрын
Not to my knowledge. A workaround would be controlling the height or width of the rectangle with the pattern fill. If the pattern height and rectangle height match, that tile would not repeat vertically, recreating the repeat-x value. The other thing you could do, if you have access to CSS is to use the CSS background-repeat property and remove the pattern element from the SVG.
@KenoGarage
@KenoGarage 11 ай бұрын
How do you get the live preview of the .svg? Is it an extension? If so, which one?
@MattVisiwig
@MattVisiwig 11 ай бұрын
It's a VS Code extension called SVG and its by jock.
How to Code SVG Patterns (Part 2)
12:48
Matt Visiwig
Рет қаралды 1,4 М.
Making Future Interfaces: Inline SVG
11:16
Heydon Pickering
Рет қаралды 28 М.
managed to catch #tiktok
00:16
Анастасия Тарасова
Рет қаралды 47 МЛН
小丑把天使丢游泳池里#short #angel #clown
00:15
Super Beauty team
Рет қаралды 47 МЛН
If Barbie came to life! 💝
00:37
Meow-some! Reacts
Рет қаралды 77 МЛН
ROLLING DOWN
00:20
Natan por Aí
Рет қаралды 11 МЛН
BEST WAY to read and understand code
17:24
The Cherno
Рет қаралды 156 М.
SVG Path Tutorial • Easy to Understand!
16:44
Roberto Matthews
Рет қаралды 55 М.
Create Stunning Python GUIs in 10 Minutes With Drag & Drop
11:38
Coding Is Fun
Рет қаралды 56 М.
SVG can do that?! - talk by Sarah Drasner
38:08
freeCodeCamp.org
Рет қаралды 29 М.
Understanding SVG viewBox and viewport
10:32
snorklTV
Рет қаралды 5 М.
Interactive web animation with SVG (DevFest 2019)
38:19
Google Developer Groups
Рет қаралды 61 М.
Can I Run Youtube Entirely From My Terminal? (No Browser)
15:31
Finally Figure out the SVG ViewBox - Tutorial + ViewBox Tools
11:07
Introduction to Signed Distance Fields
9:00
Suboptimal Engineer
Рет қаралды 25 М.
How I Code SVG Halftone Designs (with tiny filesize)
12:07
Matt Visiwig
Рет қаралды 509
managed to catch #tiktok
00:16
Анастасия Тарасова
Рет қаралды 47 МЛН