Kā vertikāli centrēt tekstu, izmantojot CSS?

Kā vertikāli centrēt tekstu, izmantojot CSS?

Lai vertikāli centrētu tekstu ar CSS, apvienojiet konkrētus rekvizītus, lai nodrošinātu perfektu līdzināšanu tā konteinerā. Tas palīdz saglabāt vizuālo līdzsvaru un lasāmību dažādos ekrāna izmēros un izšķirtspējās.

Tālāk ir norādītas pieejas teksta vertikālai centrēšanai ar CSS:

Satura rādītājs

Izmantojot display: table-cell>

Uz teksta vertikālo centrēšanu, izmantojot displeju: tabula-šūna; vertikāli izlīdzināt: vidū; uz konteinera elementa, nodrošinot precīzu izlīdzināšanu neatkarīgi no satura izmēra vai ekrāna izmēriem. Konteiners aptver visu skata loga augstumu (100 vh) un platumu (100 vw) ar punktētu apmali un smilškrāsas fonu.

Piemērs: Tālāk esošajā piemērā teksts ir vertikāli centrēts, izmantojot CSS display: table-cell> .

HTML
      Horizontālais un vertikālais līdzinājumstitle> <style>.container { augstums: 100vh;  platums: 100vw;  displejs: tabula-šūna;  vertikāli izlīdzināt: vidū;  apmale: 2 pikseļi punktveida #4b2869;  fona krāsa: bēša;  } style> head> <body>  <div>Vertikāli centrējiet tekstu ar displeju: table-cell Property div> body> html> </pre>  </code>  <p dir='ltr'>  <b>  <strong>Izvade: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/45/how-vertically-center-text-with-css.webp' alt='kalnu velosipēds'> <p>Izvade </p>  <h2 id='using-lineheight-and-verticalalign'>  <b>  <strong>Izmantojot </strong>  </b>  <b> <code> line-height> </code> </b>  <b>  <strong>un </strong>  </b>  <b> <code> vertical-align> </code> </b>  </h2> <p dir='ltr'> <span>Uz vertikāli centrā </span>  <b> <code> the> </code> </b>  <span>teksts div elementā, izmantojot līnijas augstumu: 200 pikseļi; lai atbilstu tā augstumam, bet vertikāli izlīdzināt: vidū; uz ligzdotas laiduma nodrošina precīzu līdzināšanu neatkarīgi no fonta lieluma. Teksta līdzināšana: centrā; rekvizīts horizontāli centrē tekstu, un pārtraukta robeža nodrošina vizuālu atšķirību. </span>  <b>  <strong>Piemērs: </strong>  </b>  <span>Piemērā ir parādīts vertikāli centrēts teksts, izmantojot CSS </span> <code>line-height> </code> <span>un </span> <code>vertical-align.> </code> </p>HTML <code>  <pre>  <html>  <head>  <title>Horizontālā un vertikālā līdzinājuma virsraksts> <style>div { augstums: 200 pikseļi;  līnijas augstums: 200 pikseļi;  teksta līdzināšana: centrs;  apmale: 2 pikseļi punktveida #f69c55;  } span { displejs: inline-block;  vertikāli izlīdzināt: vidū;  līnijas augstums: normāls;  } style> head> <body>  <div>  <span>techcodeview.comspan> div> body> html> </pre>  </code>  <p dir='ltr'>  <b>  <strong>Izvade: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/45/how-vertically-center-text-with-css-2.webp' alt='Vertikāli centrējiet, izmantojot līnijas augstumu un vertikālo līdzināšanu'> <h2 id='using-flexbox-method'> <span>Izmantojot Flexbox metodi </span> </h2> <p dir='ltr'> <span>Lai vertikāli izlīdzinātu </span> <code>a> </code>  <b> <code>> </code> </b>  <span>tekstu, izmantojot Flexbox metodi, iestatot displeju: flex; izlīdzināt vienumus: centrs; uz korpusa elementa, nodrošinot perfektu centrēšanu neatkarīgi no ekrāna izmēra. Teksts ir veidots ar fonta lielumu: no 20 pikseļiem; fonta svars: treknrakstā; lasāmībai. </span> </p>  <p dir='ltr'>  <b>  <strong>Piemērs: </strong>  </b>  <span>Tālāk esošajā piemērā teksts ir vertikāli centrēts ar CSS. </span> </p>HTML <code>  <pre>  <html lang='en'>  <head>  <meta charset='UTF-8'>  <meta name='viewport' content='width=device-width, initial-scale=1.0'>  <title>Vertikālā centra teksts — Flexbox Methodtitle> <style>body { displejs: flex;  izlīdzināt vienumus: centrs;  augstums: 100vh;  piemale: 0;  fona krāsa: rgb(181, 226, 211);  } .text { fonta izmērs: 20 pikseļi;  fonta svars: treknrakstā;  } style> head> <body>  <div>Teksta vertikālā līdzināšana, izmantojot Flexbox metodi div> body> html> </pre>  </code>  <p dir='ltr'>  <b>  <strong>Izvade: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/45/how-vertically-center-text-with-css-3.webp' alt='Vertikāli izlīdzināt-flex'> <p>Izvade </p>  <br>  <br>
                     </div>

                     <!-- Article Footer with Prominent Share Buttons -->
                     <div class="px-6 md:px-8 py-8 bg-slate-50 dark:bg-slate-900/50 border-t border-slate-200 dark:border-slate-700/50">
                          <div class="flex flex-col sm:flex-row items-center justify-between gap-6">
                              <h4 class="text-base font-bold text-slate-700 dark:text-slate-300 uppercase tracking-wide flex items-center gap-2">
                                 <i class="fa fa-share-alt text-tech-500"> </i>
                                Kopīgot                              </h4>
                             
                              <div class="flex flex-wrap justify-center gap-3">
                                 <!-- Twitter -->
                                 <a href="https://twitter.com/intent/tweet?text=Kā vertikāli centrēt tekstu, izmantojot CSS?&url=https://www.techcodeview.com/lv/how-vertically-center-text-with-css" 
                                   target="_blank" rel="noopener noreferrer" 
                                   class="flex items-center gap-2 px-6 py-3 rounded-xl bg-[#1DA1F2]/10 text-[#1DA1F2] hover:bg-[#1DA1F2] hover:text-white transition-all duration-300 font-bold text-sm">
                                     <i class="fa fa-twitter text-lg"> </i>
                                     <span class="hidden sm:inline">Twitter </span>
                                 </a>

                                 <!-- Facebook -->
                                 <a href="https://www.facebook.com/sharer/sharer.php?u=https://www.techcodeview.com/lv/how-vertically-center-text-with-css" 
                                   target="_blank" rel="noopener noreferrer"
                                   class="flex items-center gap-2 px-6 py-3 rounded-xl bg-[#4267B2]/10 text-[#4267B2] hover:bg-[#4267B2] hover:text-white transition-all duration-300 font-bold text-sm">
                                     <i class="fa fa-facebook text-lg"> </i>
                                     <span class="hidden sm:inline">Facebook </span>
                                 </a>
                                
                                 <!-- LinkedIn -->
                                 <a href="https://www.linkedin.com/shareArticle?mini=true&url=https://www.techcodeview.com/lv/how-vertically-center-text-with-css&title=Kā vertikāli centrēt tekstu, izmantojot CSS?" 
                                   target="_blank" rel="noopener noreferrer"
                                   class="flex items-center gap-2 px-6 py-3 rounded-xl bg-[#0077b5]/10 text-[#0077b5] hover:bg-[#0077b5] hover:text-white transition-all duration-300 font-bold text-sm">
                                     <i class="fa fa-linkedin text-lg"> </i>
                                     <span class="hidden sm:inline">LinkedIn </span>
                                 </a>
                              </div>
                          </div>
                     </div>
                </article>

                <!-- Comments Placeholder / Random Articles -->
                <div class="mt-8 bg-white dark:bg-slate-800 border border-slate-200 dark:border-slate-700 rounded-xl p-6 md:p-8 shadow-sm">
                     <h3 class="text-xl font-bold text-slate-900 dark:text-white mb-6 uppercase tracking-wide border-b border-slate-200 dark:border-slate-700 pb-2">
                        Jums Varētu Patikt                     </h3>
                     <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                         <div class="group">
                              <a href="/lv/inverse-tangent-formula" class="block aspect-video rounded-lg overflow-hidden bg-slate-200 dark:bg-slate-700 mb-3">
                                 <img loading="lazy" src="https://techcodeview.com/img/maths-formulas/42/inverse-tangent-formula.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Apgrieztā pieskares formula" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                              </a>
                              <h4 class="font-bold text-slate-900 dark:text-white leading-tight group-hover:text-tech-500 transition-colors">
                                 <a href="/lv/inverse-tangent-formula">Apgrieztā pieskares formula </a>
                              </h4>
                         </div> <div class="group">
                              <a href="/lv/nor-gate" class="block aspect-video rounded-lg overflow-hidden bg-slate-200 dark:bg-slate-700 mb-3">
                                 <img loading="lazy" src="https://techcodeview.com/img/digital-electronics-implementations/31/nor-gate.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="NOR Vārti" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                              </a>
                              <h4 class="font-bold text-slate-900 dark:text-white leading-tight group-hover:text-tech-500 transition-colors">
                                 <a href="/lv/nor-gate">NOR Vārti </a>
                              </h4>
                         </div>
                     </div>
                </div>
             </div>

             <!-- SECONDARY COLUMN (SIDEBAR) -->
             <!-- Aside Column -->
 <div class="lg:col-span-4 space-y-8">
	
	 <!-- Best Articles Widget -->
	 <div class="rounded-xl bg-white dark:bg-slate-800 border border-slate-200 dark:border-slate-700 p-6 shadow-sm">
		 <div class="mb-4 border-b border-slate-100 dark:border-slate-700 pb-2">
			 <h2 class="text-lg font-bold text-slate-900 dark:text-white uppercase tracking-wide flex items-center">
                 <span class="mr-2 h-2 w-2 rounded-full bg-tech-500"> </span>
                Top Raksti             </h2>
		 </div>
		
		 <!-- Owl Carousel Preserved Container -->
		 <div id="owl-carousel-3" class="owl-carousel owl-theme center-owl-nav">
			 <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/lv/letter-recommendation-sample-131828">
						 <img src="https://techcodeview.com/img/blog/20/letter-recommendation-sample.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Ieteikuma vēstules paraugs: tuvs kolēģis" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/lv/letter-recommendation-sample-131828" class="hover:text-tech-500 transition-colors line-clamp-3">Ieteikuma vēstules paraugs: tuvs kolēģis </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/lv/forward-chaining-backward-chaining-ai">
						 <img src="https://techcodeview.com/img/artificial-intelligence/84/forward-chaining-backward-chaining-ai.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Ķēdēšana uz priekšu un atpakaļ ķēde AI" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/lv/forward-chaining-backward-chaining-ai" class="hover:text-tech-500 transition-colors line-clamp-3">Ķēdēšana uz priekšu un atpakaļ ķēde AI </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/lv/what-is-cbna-my-credit-report-131212">
						 <img src="https://techcodeview.com/img/blog/12/what-is-cbna-my-credit-report.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Kas ir CBNA manā kredīta pārskatā? Paskaidrota CBNA definīcija" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/lv/what-is-cbna-my-credit-report-131212" class="hover:text-tech-500 transition-colors line-clamp-3">Kas ir CBNA manā kredīta pārskatā? Paskaidrota CBNA definīcija </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/lv/4-sat-sections-what-they-test-1311402">
						 <img src="https://techcodeview.com/img/blog/73/4-sat-sections-what-they-test.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="4 SAT sadaļas: ko tās pārbauda un kā labi paveikt" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/lv/4-sat-sections-what-they-test-1311402" class="hover:text-tech-500 transition-colors line-clamp-3">4 SAT sadaļas: ko tās pārbauda un kā labi paveikt </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/lv/std-stol-function-c">
						 <img src="https://techcodeview.com/img/c-tutorial/59/std-stol-function-c.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="std::stol funkcija C++ valodā" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/lv/std-stol-function-c" class="hover:text-tech-500 transition-colors line-clamp-3">std::stol funkcija C++ valodā </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/lv/net-force-formula">
						 <img src="https://techcodeview.com/img/physics-concepts/77/net-force-formula.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Neto spēka formula" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/lv/net-force-formula" class="hover:text-tech-500 transition-colors line-clamp-3">Neto spēka formula </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/lv/what-is-dynamic-equilibrium-1311182">
						 <img src="https://techcodeview.com/img/blog/41/what-is-dynamic-equilibrium.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Kas ir dinamiskais līdzsvars? Definīcija un piemēri" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/lv/what-is-dynamic-equilibrium-1311182" class="hover:text-tech-500 transition-colors line-clamp-3">Kas ir dinamiskais līdzsvars? Definīcija un piemēri </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/lv/python-classes-objects">
						 <img src="https://techcodeview.com/img/python-oop/05/python-classes-objects.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Python klases un objekti" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/lv/python-classes-objects" class="hover:text-tech-500 transition-colors line-clamp-3">Python klases un objekti </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/lv/python-sending-email-using-smtp">
						 <img src="https://techcodeview.com/img/python-tutorial/14/python-sending-email-using-smtp.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Python e-pasta sūtīšana, izmantojot SMTP" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/lv/python-sending-email-using-smtp" class="hover:text-tech-500 transition-colors line-clamp-3">Python e-pasta sūtīšana, izmantojot SMTP </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/lv/architecture-linux">
						 <img src="https://techcodeview.com/img/linux-tutorial/35/architecture-linux.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Linux arhitektūra" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/lv/architecture-linux" class="hover:text-tech-500 transition-colors line-clamp-3">Linux arhitektūra </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE -->
		 </div>
		

         <!-- Categories -->
		 <div class="mt-8 mb-4 border-b border-slate-100 dark:border-slate-700 pb-2">
			 <h2 class="text-lg font-bold text-slate-900 dark:text-white uppercase tracking-wide">Kategorija </h2>
		 </div>
		 <div class="flex flex-wrap gap-2">
             <a href="/lv/blog/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Emuārs
             </a> <a href="/lv/java-conversion/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Java Konvertēšana
             </a> <a href="/lv/maths/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Matemātika
             </a> <a href="/lv/java-collections/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Java Kolekcijas
             </a> <a href="/lv/differences/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Atšķirības
             </a> <a href="/lv/java-string/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Java Virkne
             </a>
         </div>

         <!-- Interesting Articles Widget -->
		 <div class="mt-8">
			 <div class="mb-4 border-b border-slate-100 dark:border-slate-700 pb-2">
				 <h2 class="text-lg font-bold text-slate-900 dark:text-white uppercase tracking-wide">Interesanti Raksti </h2>
			 </div>
			
			 <div id="owl-carousel-4" class="owl-carousel owl-theme">
				 <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/java-tutorial/50/counter-variable-java.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Skaitītāja mainīgais Java" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/lv/java-tutorial/">Java Apmācība </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/lv/counter-variable-java">Skaitītāja mainīgais Java </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/dbms/89/data-abstraction-and-data-independence.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Datu abstrakcija un datu neatkarība" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/lv/dbms/">DBVS </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/lv/data-abstraction-and-data-independence">Datu abstrakcija un datu neatkarība </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/machine-learning/38/applications-machine-learning.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Mašīnmācības pielietojumi" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/lv/machine-learning/">Mašīnmācība </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/lv/applications-machine-learning">Mašīnmācības pielietojumi </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/java-tutorial/06/read-eval-print-loop-java.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Read-Eval-Print Loop (REPL) Java" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/lv/java-tutorial/">Java Apmācība </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/lv/read-eval-print-loop-java">Read-Eval-Print Loop (REPL) Java </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/blog/06/what-is-compound-sentence.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Kas ir salikts teikums? Veidi un piemēri" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/lv/blog/">Emuārs </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/lv/what-is-compound-sentence-131592">Kas ir salikts teikums? Veidi un piemēri </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/linux-command/70/netstat-command-linux.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Netstat komanda operētājsistēmā Linux" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/lv/linux-command/">Linux-Komanda </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/lv/netstat-command-linux">Netstat komanda operētājsistēmā Linux </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE -->
			 </div>
		 </div>
	 </div>
 </div>
 <!-- /Aside Column -->         </div>
        </div>
     </div>

 <footer class="site-footer">
         <div class="container">
             <span class="footer-links">
                Copyright ©2026 Visas Tiesības Aizsargātas | 
                 <a href="//www.techcodeview.com/da/">techcodeview.com </a> | 
                 <a href="/disclaimer" rel="nofollow noopener noreferrer" target="_blank">Atruna </a> | 
                 <a href="/about-us" rel="nofollow noopener noreferrer" target="_blank">Par Mums </a> | 
                 <a href="/privacy-policy" rel="nofollow noopener noreferrer" target="_blank">Privātuma Politika </a> 
             </span>
         </div>
     </footer>
 
     <script type="text/javascript" src="https://techcodeview.com/template/assets/plugins/jquery-1.11.3.min.js"> </script>
     <script type="text/javascript" src="https://techcodeview.com/template/assets/plugins/bootstrap/js/bootstrap.min.js"> </script>    
     <script type="text/javascript" src="https://techcodeview.com/template/assets/js/main.js"> </script>     
	 <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/highlight.min.js"> </script>
	 <script>
    !function(){"use strict";let t=document.createElement("button");t.id="toTopBtn",t.innerHTML="↑";let e=`
        #toTopBtn {
            position: fixed; bottom: 25px; right: 25px; z-index: 9999; opacity: 0; visibility: hidden; background-color: #0ea5e9; color: white; border: none; border-radius: 8px; width: 50px; height: 50px; font-size: 24px; cursor: pointer; transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        }
        #toTopBtn:hover { background-color: #0284c7; }
    `,i=document.createElement("style");i.type="text/css",i.innerText=e,document.head.appendChild(i),document.body.appendChild(t),window.addEventListener("scroll",()=>{let e=window.scrollY||document.documentElement.scrollTop;e>300?(t.style.opacity="1",t.style.visibility="visible"):(t.style.opacity="0",t.style.visibility="hidden")}),t.addEventListener("click",()=>{window.scrollTo({top:0,behavior:"smooth"})})}();
     </script>
 </body>
 </html>