Example not working?

PrimeFlex is a lightweight responsive CSS utility library to accompany Prime UI libraries and static webpages
Post Reply
tarkhil
Posts: 17
Joined: 17 Dec 2020, 21:05

20 Jul 2022, 22:05

Hello
The simplest responsive layout does not work for me

Code: Select all

<!DOCTYPE html>
<html lang="ru">
  <head>
    <title>layout</title>
    <meta charset="utf-8" />
    <meta http-equiv="content-language" content="ru-RU">
    <!-- <link href="https://unpkg.com/primevue/resources/primevue.min.css" rel="stylesheet"> -->
    <link rel="stylesheet" href="https://unpkg.com/primeflex@3.1.2/primeflex.css">
    <link href="https://unpkg.com/primevue/resources/themes/lara-light-indigo/theme.css" rel="stylesheet">
    <!-- <link href="https://unpkg.com/primeicons/primeicons.css" rel="stylesheet"> -->
    <!-- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOm\
LASjC" crossorigin="anonymous">
    <link rel="stylesheet" type="text/css" href="/css/style.css"> -->
  </head>
  <body>

    <div class="card">
      <div class="flex flex-column md:flex-row card-container indigo-container">
        <div class="flex align-items-center justify-content-center w-4rem h-4rem bg-indigo-500 font-bold text-white border-round m-2">1</div>
        <div class="flex align-items-center justify-content-center w-4rem h-4rem bg-indigo-500 font-bold text-white border-round m-2">2</div>
        <div class="flex align-items-center justify-content-center w-4rem h-4rem bg-indigo-500 font-bold text-white border-round m-2">3</div>
      </div>
    </div>
    <!-- <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" cros\
sorigin="anonymous"></script> -->
  </body>
</html>
does not switch to row on mobile phone. Being not too familiar with CSS, I have no idea on what to do next

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

12 Aug 2022, 20:11

Hi,

Could you please try 3.2.1 version?

Best Regards,

Post Reply

Return to “PrimeFlex”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests