A simple example of glassmorphism design trend in pure CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body class="align"> | |
<div class="grid"> | |
<form action="https://httpbin.org/post" method="POST" class="form login"> | |
<div class="form__field"> | |
<label for="login__username"><svg class="icon"> | |
<use xlink:href="#icon-user"></use> | |
</svg><span class="hidden">Username</span></label> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container noselect"> | |
<div class="wrapper"> | |
<button id="replay"> | |
<i class="fas fa-play"></i> | |
RESTART | |
</button> | |
<div id="canvas"> | |
</div> | |
<div id="ui"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
import sys | |
import time | |
s=socket.socket() | |
host=socket.gethostname() | |
print("Server will start on host:",host) | |
port=1234 | |
s.bind((host,port)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
# Load the cascade | |
face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml') | |
# Read the input image | |
img = cv2.imread('test.jpg') | |
# Convert into grayscale | |
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Import | |
from gtts import gTTS | |
import os | |
#txt file | |
f=open('1.txt') | |
x=f.read() | |
language='en' |