Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <!DOCTYPE html>

<html>
	
	<head>
		<title>Svg Html текст и фон</title>
		<meta http-equiv="Content-type" content="text/html; charset=utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<link rel="stylesheet" media="all" href="css/main.css" />
	</head>

	<body>
		<section id="header">
			<h1>Svg Html</h1>
		</section>
		
		<section id="Maldiwa">

			<svg 
			   xmlns:dc="http://purl.org/dc/elements/1.1/"
			   xmlns:cc="http://creativecommons.org/ns#"
			   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
			   xmlns:svg="http://www.w3.org/2000/svg"
			   xmlns="http://www.w3.org/2000/svg"
			   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
			   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
			   width="1240"
			   height="600"
			   viewBox="0 0 1240 600.00001"
			   id="svg2"
			   version="1.1"
			   inkscape:version="0.91 r13725"
			   sodipodi:docname="maldiwa4.svg">
			  <defs id="defs4" />
				    <pattern id="img1" patternUnits="userSpaceOnUse" width="600" height="450">
						<image xlink:href="http://www.stariki.team/image/0023_svghtml1/water.jpg" x="0" y="0" width="600" height="450" />
					</pattern>
			  <sodipodi:namedview
				 id="base"
				 pagecolor="#ffffff"
				 bordercolor="#666666"
				 borderopacity="1.0"
				 inkscape:pageopacity="0.0"
				 inkscape:pageshadow="2"
				 inkscape:zoom="0.49497475"
				 inkscape:cx="1127.9345"
				 inkscape:cy="477.11283"
				 inkscape:document-units="px"
				 inkscape:current-layer="layer1"
				 showgrid="false"
				 units="px"
				 inkscape:window-width="1920"
				 inkscape:window-height="1017"
				 inkscape:window-x="-8"
				 inkscape:window-y="-8"
				 inkscape:window-maximized="1" />
			  <metadata
				 id="metadata7">
				<rdf:RDF>
				  <cc:Work
					 rdf:about="">
					<dc:format>image/svg+xml</dc:format>
					<dc:type
					   rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
					<dc:title></dc:title>
				  </cc:Work>
				</rdf:RDF>
			  </metadata>
			  <g
				 inkscape:label="Layer 1"
				 inkscape:groupmode="layer"
				 id="layer1"
				 transform="translate(0,-452.36216)">
				<flowRoot
				   xml:space="preserve"
				   id="flowRoot3344"
				   style="fill:black;stroke:none;stroke-opacity:1;stroke-width:1px;stroke-linejoin:miter;stroke-linecap:butt;fill-opacity:1;font-family:Aharoni;font-style:normal;font-weight:bold;font-size:43.75px;line-height:125%;letter-spacing:0px;word-spacing:0px;-inkscape-font-specification:'Aharoni Bold';font-stretch:normal;font-variant:normal;"><flowRegion
					 id="flowRegion3346"><rect
					   id="rect3348"
					   width="654.28571"
					   height="364.28571"
					   x="78.571426"
					   y="81.428574"
					   style="-inkscape-font-specification:'Aharoni Bold';font-family:Aharoni;font-weight:bold;font-style:normal;font-stretch:normal;font-variant:normal;" /></flowRegion><flowPara
					 id="flowPara3350"></flowPara></flowRoot>    <flowRoot
				   xml:space="preserve"
				   id="flowRoot3352"
				   style="fill:black;stroke:none;stroke-opacity:1;stroke-width:1px;stroke-linejoin:miter;stroke-linecap:butt;fill-opacity:1;font-family:Aharoni;font-style:normal;font-weight:bold;font-size:43.75px;line-height:125%;letter-spacing:0px;word-spacing:0px;-inkscape-font-specification:'Aharoni Bold';font-stretch:normal;font-variant:normal;"><flowRegion
					 id="flowRegion3354"><rect
					   id="rect3356"
					   width="1094.2858"
					   height="461.42856"
					   x="45.714287"
					   y="35.714287"
					   style="-inkscape-font-specification:'Aharoni Bold';font-family:Aharoni;font-weight:bold;font-style:normal;font-stretch:normal;font-variant:normal;" /></flowRegion><flowPara
					 id="flowPara3358"></flowPara></flowRoot>    <flowRoot
				   xml:space="preserve"
				   id="flowRoot3360"
				   style="fill:black;stroke:none;stroke-opacity:1;stroke-width:1px;stroke-linejoin:miter;stroke-linecap:butt;fill-opacity:1;font-family:Aharoni;font-style:normal;font-weight:bold;font-size:43.75px;line-height:125%;letter-spacing:0px;word-spacing:0px;-inkscape-font-specification:'Aharoni Bold';font-stretch:normal;font-variant:normal;"><flowRegion
					 id="flowRegion3362"><rect
					   id="rect3364"
					   width="1084.2858"
					   height="432.85715"
					   x="62.857143"
					   y="81.428574"
					   style="-inkscape-font-specification:'Aharoni Bold';font-family:Aharoni;font-weight:bold;font-style:normal;font-stretch:normal;font-variant:normal;" /></flowRegion><flowPara
					 id="flowPara3366"></flowPara></flowRoot>    <text
				   xml:space="preserve"
				   style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:339.18344116px;line-height:125%;font-family:Aharoni;-inkscape-font-specification:'Aharoni Bold';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
				   x="2.781945"
				   y="722.86261"
				   id="text3368"
				   sodipodi:linespacing="125%"
				   transform="scale(0.82525587,1.2117454)"><tspan
					 sodipodi:role="line"
					 id="tspan3370"
					 x="2.781945"
					 y="722.86261">Maldi</tspan></text>
				<path
				   style="stroke-opacity:1"
				   d="m 752.60933,695.22537 0.0318,-1.83897 0.95344,-2.06328 2.31994,-2.24263 5.05316,-2.24264 4.70357,-1.3456 8.51733,-0.17943 9.02577,1.07646 7.62737,1.9736 10.29703,4.84412 6.10192,3.05003 22.62797,15.07061 22.88224,15.78831 9.91565,5.38239 9.78847,4.12651 12.58526,3.76764 20.88198,3.95505 3.97014,-3.3592 5.19865,-3.23772 c 3.78042,-2.09254 7.77329,-4.07886 12.22501,-5.83575 3.09019,-1.05692 6.68785,-2.01593 10.60698,-2.0298 3.51884,0.22332 5.85197,0.30746 9.16881,1.52232 4.92336,2.15194 10.64404,3.15031 14.06865,7.0151 l 3.05751,2.51866 3.54969,3.38775 c 0.62332,1.18366 0.30379,2.24946 -10e-4,3.3171 l 16.36005,-1.26865 c 4.61598,-1.71293 9.39598,-2.85917 13.66198,-5.97191 4.5623,-1.50512 7.9051,-4.82481 11.6869,-7.22191 l 17.6185,-14.4625 14.9216,-11.41781 15.8207,-7.61177 c 3.5076,-1.03872 6.9722,-1.47397 10.3956,-1.33419 2.3341,0.35589 4.7989,-0.0369 6.8948,0.95413 2.0237,0.28141 3.5635,1.20611 5.0022,2.15618 2.1568,1.60694 4.2442,3.21388 5.5732,4.82082 0.7602,1.90903 0.7841,3.75668 0.5393,5.58196 l -16.7194,25.62657 -17.4388,22.07428 -12.225,15.47743 -24.27,31.20856 -17.4388,16.49229 -29.14395,22.1061 c -8.93232,5.7852 -17.90617,11.45617 -27.30696,15.95307 -4.84541,1.46082 -9.49165,3.45276 -14.56213,4.31341 -1.60023,-0.21296 -3.19113,-0.50987 -4.67432,-1.77612 0.96232,2.19898 1.16572,4.39795 1.43826,6.59693 l -0.53933,18.5221 c -0.25402,2.8542 -1.04511,4.63428 -1.61802,6.85072 -0.6565,1.32677 -1.69571,1.76055 -2.69667,2.28359 -5.61498,0.14253 -11.53629,-1.1445 -18.70316,-5.16387 -2.32454,-2.92831 -3.65725,-5.88512 -7.87294,-8.69523 -1.68042,0.43313 -1.74803,1.40386 -2.47199,2.1558 l -17.0346,79.9284 -12.07674,56.15622 -4.38572,-0.09 15.63617,-76.69895 11.94964,-57.50181 c 0.24006,-2.46806 1.06289,-2.29412 -0.19073,-7.17645 -0.40552,-0.49996 -0.87194,-0.39089 -1.36122,-0.0532 l -7.66456,4.98698 c -4.44932,0.80403 -8.64588,2.36632 -13.34795,2.41209 -2.58642,0.11251 -3.92024,-0.34434 -5.657,-0.61803 -1.16069,-0.82041 -1.32628,-1.79794 -0.88982,-2.87053 l 5.08488,-12.20008 7.69097,-11.39277 c 0.31449,-0.65892 0.83462,-1.13926 1.39708,-1.9635 l 2.98871,-3.50848 -3.11451,1.07643 -4.89424,0.98676 -5.14855,-1.52502 -12.33094,-9.77794 -15.0006,-19.01778 -19.0685,-31.93547 L 791.47754,755.2832 767.06984,717.24773 754.61151,698.23 Z"
				   id="path3384"
				   inkscape:connector-curvature="0"
				   sodipodi:nodetypes="cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" />
				<text
				   xml:space="preserve"
				   style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:329.16647339px;line-height:125%;font-family:Aharoni;-inkscape-font-specification:'Aharoni Bold';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
				   x="1153.3094"
				   y="796.79779"
				   id="text4203"
				   sodipodi:linespacing="125%"
				   transform="scale(0.91418831,1.0938665)"><tspan
					 sodipodi:role="line"
					 id="tspan4205"
					 x="1153.3094"
					 y="796.79779">a</tspan></text>
			  </g>
			  
			</svg>

		</section>



		<section id="project_link">
			<a href="http://www.stariki.team/html-template">Html Template</a>
			<a href="https://Maldiwa.ru">Maldiwa.ru</a>
			<a href="http://knowledge.stariki.team/html-templates/svghtml-text-background.html">Описание SVG Html</a>
			<a href="#">Codepen.io</a>
		</section>
	
	</body>
  
</html>
              
            
!

CSS

              
                @-webkit-keyframes shadow-inset-center {
	0% {
		transform: rotate(0deg);
	}
	50% {
		transform: rotate(2deg);
	}
	100% {
		transform: rotate(0deg);
	}
}
@keyframes shadow-inset-center {
	0% {
		transform: rotate(0deg);
	}
	50% {
		transform: rotate(2deg);
	}
	100% {
		transform: rotate(0deg);
	}
}

html, body{
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
} 

#Maldiwa {
	width: 1240px;
	height: 600px;
	margin: auto;
}

#tspan3370, #tspan4205 {

	stroke: #05a8ff;
	fill: #05a8ff;
	transition: 1s ease-out;

}

#tspan3370:hover, #tspan4205:hover {
	fill: white;
	transition: 1s ease-out;
}

#path3384 {
	stroke: url(#img1);
	fill: url(#img1);

		-webkit-animation: shadow-inset-center 4s ease-out infinite;
				animation: shadow-inset-center 4s ease-out infinite;
}

#path3384:hover {
	fill: white;
	transition: 1s ease-out;
}

#project_link {
	text-align: center;
	margin-top: 25px;
}

#header h1 {
	color: #05a8ff;
	text-align: center;
	font-size: 2em;
}

#project_link a, a:visited {
	color: #05a8ff;
	padding: 0px 15px 0px 15px;

}
              
            
!

JS

              
                
              
            
!
999px

Console