Skip to content

Instantly share code, notes, and snippets.

@phpfiddle
Created April 24, 2020 15:23
Show Gist options
  • Save phpfiddle/4c411c333e66a8e6113ddb1bee9957e6 to your computer and use it in GitHub Desktop.
Save phpfiddle/4c411c333e66a8e6113ddb1bee9957e6 to your computer and use it in GitHub Desktop.
[ Posted by Priot ] 555555555555555
<?php
header('Content-Type: charset=utf-8');
?>
<!doctype html>
<html lang="ru">
<head>
<meta charset="utf-8" />
<title></title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<?php
$rgb1=rand(0, 255);
$rgb2=rand(0, 255);
$rgb3=rand(0, 255);
$rgb4=rand(0, 255);
$rgb5=rand(0, 255);
$rgb6=rand(0, 255);
$padd=rand(10, 50);
echo "<p style='background-color:rgb($rgb4,$rgb5,$rgb6);color:rgb($rgb1,$rgb2,$rgb3);padding:$padd;'>Это мой первый код</p>";
?>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment